Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

lorawan-nano-gateway/nanogateway.py: Fix error handling #107

Merged
merged 3 commits into from
Feb 6, 2020

Conversation

robert-hh
Copy link
Contributor

Starting with version 1.20.1, the object returned by:
except Exception as exp:
does not have the attribute exp.errno any more. Instead,
exp.args[0] is used, which is backward compatible.

Starting with version 1.20.1, the object returned by:
except Exception as exp:
does not have the attribute exp.errno any more. Instead,
exp.args[0] is used, which is backward compatible.
Copy link
Contributor

@doniks doniks left a comment

Choose a reason for hiding this comment

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

lgtm. Thanks!

@doniks doniks merged commit b10a173 into pycom:master Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants