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

Need to raise custom exception #369

Closed
jmcgill298 opened this issue Feb 3, 2019 · 0 comments · Fixed by #1682
Closed

Need to raise custom exception #369

jmcgill298 opened this issue Feb 3, 2019 · 0 comments · Fixed by #1682

Comments

@jmcgill298
Copy link
Contributor

raise Exception('Unable to parse command "%s" on platform %s - %s' % (command, platform, str(e)))

Currently parse_output raises a generic Exception; this needs to be changed to a custom exception that can be properly caught by users of the function.

Kircheneer added a commit to Kircheneer/ntc-templates that referenced this issue Apr 4, 2024
Caution: This is technically a breaking change.

Closes networktocode#369
Kircheneer added a commit to Kircheneer/ntc-templates that referenced this issue Apr 4, 2024
Caution: This is technically a breaking change.

Closes networktocode#369
Kircheneer added a commit to Kircheneer/ntc-templates that referenced this issue Apr 5, 2024
Caution: This is technically a breaking change.

Closes networktocode#369
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants