Skip to content

removed exit sys call for ConnectionRefusedError in _get_substrate#2287

Merged
garrett-opentensor merged 3 commits intostagingfrom
fix/remove-exit
Sep 6, 2024
Merged

removed exit sys call for ConnectionRefusedError in _get_substrate#2287
garrett-opentensor merged 3 commits intostagingfrom
fix/remove-exit

Conversation

@garrett-opentensor
Copy link
Collaborator

Removes the sys exit call when catching a ConnectionRefusedError in the _get_substrate() method of Subtensor.

camfairchild
camfairchild previously approved these changes Sep 5, 2024
ibraheem-abe
ibraheem-abe previously approved these changes Sep 5, 2024
Copy link
Collaborator

@basfroman basfroman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls fix ruff formatter

@garrett-opentensor garrett-opentensor merged commit c7b4739 into staging Sep 6, 2024
@garrett-opentensor garrett-opentensor deleted the fix/remove-exit branch September 6, 2024 17:47
ibraheem-abe pushed a commit that referenced this pull request Sep 6, 2024
…2287)

* removed exit sys call for ConnectionRefusedError in _get_substrate

* removed unnecessary sys import

* ruff format fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants