Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed exit sys call for ConnectionRefusedError in _get_substrate #2287

Merged
merged 3 commits into from
Sep 6, 2024

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
Copy link
Contributor

@roman-opentensor roman-opentensor 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
36 checks passed
@garrett-opentensor garrett-opentensor deleted the fix/remove-exit branch September 6, 2024 17:47
ibraheem-opentensor 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