yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08944
[Bug 1265561] Re: Log message printed for unhandled exception is not very helpful.
** Changed in: oslo
Status: Fix Committed => Fix Released
** Changed in: oslo
Milestone: None => icehouse-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1265561
Title:
Log message printed for unhandled exception is not very helpful.
Status in OpenStack Image Registry and Delivery Service (Glance):
In Progress
Status in OpenStack Compute (Nova):
In Progress
Status in Oslo - a Library of Common OpenStack Code:
Fix Released
Bug description:
Currently, on an unhandled exception, the error message logged through
sys.excepthook is not very helpful.
Currently it prints only the exception_value.
https://github.com/openstack/oslo-incubator/blob/master/openstack/common/log.py#L396
Fix:
Make the log message print both the exception_type and exception_value of the unhandled exception.
PS: Currently the traceback is printed only when the VERBOSE is ON.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1265561/+subscriptions