Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put fault message in the correct field
Currently when adding an instance fault, the message field looks for kwargs['value'], which many exceptions do not have. This results in the message field being set to the name of the exception class, which in some cases is not useful (see the bug report for an example). This change puts the exception message in the message field, and removes it from the details field since there's no need to put it in both places. That leaves the details field for actual details, like stack traces. Fixes bug 1203880 Change-Id: Ic92a9bd9cb2e139ce7a9f3f1299b7a6ccae82dd1
- Loading branch information
Showing
2 changed files
with
22 additions
and
14 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