Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 (cherry picked from commit d63bd8d)
- Loading branch information
1 parent
9561484
commit 524a5a3
Showing
2 changed files
with
8 additions
and
2 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