-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: add log_level kwarg for logexc() (#5125)
Many failures are being treated as warnings instead of errors due to usage of logexc() to emit the failure. Add log_level parameter to allow increasing the log level without requiring an additional log. Add tests but I'm unsure why its not logging the backtrace when the failure occurs within the test method. Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
- Loading branch information
Showing
2 changed files
with
40 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