aleph-im / aleph-client

Lightweight Python Client library for the Aleph.im network
MIT License
11 stars 12 forks source link

feat(network): more verbose message error for better debugging #218

Closed Psycojoker closed 3 weeks ago

github-actions[bot] commented 3 weeks ago

The PR you provided involves a small change in the fetch_crn_info function, where the except blocks have been modified to include more detailed error messages. This change is unlikely to introduce bugs or affect the system's behavior significantly. The changes are localized to a single function and do not involve modifications to the project's architecture or workflows. Therefore, this PR is categorized as 'BLUE'.

However, please note that the JSONDecodeError and ValidationError exceptions are not handled. It is good practice to handle these exceptions to ensure the program can recover gracefully from potential JSON decoding errors or validation errors.

Here are the specific changes:

Please consider handling the JSONDecodeError and ValidationError exceptions in a future PR.

Psycojoker commented 3 weeks ago

Let's merge this since it's only the #223 problem here that is unrelated.