Skip to content

Commit 8c558d1

Browse files
committed
Flake
1 parent 295bdde commit 8c558d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor/core/subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def get_all_subnets_info(self, block: Optional[int] = None) -> list["SubnetInfo"
655655

656656
for subnet in result:
657657
subnet.update({"price": subnets_prices.get(subnet["netuid"], 0)})
658-
except SubstrateRequestException:
658+
except SubstrateRequestException as e:
659659
logging.warning(f"Unable to fetch subnet prices for block {block}: {e}")
660660

661661
return SubnetInfo.list_from_dicts(result)

0 commit comments

Comments
 (0)