steemit / steem-python

The official Python (3) library for the Steem Blockchain.
https://steem.io
MIT License
153 stars 98 forks source link

Unexpected behavior in Steem() function with custom nodes #189

Closed CStiller closed 6 years ago

CStiller commented 6 years ago

Error description: When calling Steem(nodes=["https://api.example","https://api.steemit.com"]) and the first node ("https://api.example") is not reachable or delivers invalid data the application crashes with an unhandled exception.

Expected behavior: Steem() uses the second node as fallback with logging info.

example error log(42,9 kB): error.txt

cyon1c commented 6 years ago

@CStiller This should be resolved on master, let us know if you are still having any issues.