Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Don't include traceback when wrapping exceptions
The fix in fa52cb0 strips tracebacks from exceptions when returning them to the user, but it still spams the log with a long traceback. We shouldn't be including the traceback when we wrap the exception in the first place. Instead we just include the message. It also updates the error code to 409 for device in use since this is actually a conflict. Fix for: bug 1155315 bug 1103324 bug 1092610 Change-Id: I95019a3022eb52e0335c455009c13fe229475d03
- Loading branch information
1 parent
e47d099
commit d63bd8d
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters