load_paste_app Doesn't provide a traceback
Bug #1004062 reported by
Jason Kölker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Jason Kölker |
Bug Description
In quantum/
316 try:
317 app = deploy.
318 except (LookupError, ImportError), e:
319 raise RuntimeError(
320 "configuration file %(conf_file)s."
321 "\nGot: %(e)r" % locals())
322 return conf, app
Logging of 'e' in a string causes only the __str__ representation to be reported. This makes it almost impossible to track down where the issue is coming from. LOG.exception should be used so the traceback is logged.
Changed in quantum: | |
assignee: | nobody → Jason Kölker (jason-koelker) |
status: | New → In Progress |
Changed in quantum: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-2 → 2012.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/7761
Review: https:/