Skip to content

Conversation

@dkaplan1
Copy link

@dkaplan1 dkaplan1 commented Mar 15, 2023

Internal exceptions (error code 1001) currently do not have the actual error message included within CommandError, which hinders debugging.

Before

pyeapi.eapilib.CommandError: Error [1001]: CLI command 10 of 11 '   no shutdown' failed: internal error

After

pyeapi.eapilib.CommandError: Error [1001]: CLI command 10 of 11 '   no shutdown' failed: internal error [[Errno 13] Permission denied: '/usr/local/bin/foo']

@ryanmerolle
Copy link
Contributor

LGTM

@dlyssenko dlyssenko merged commit 285116c into arista-eosplus:develop Apr 28, 2023
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.

3 participants