Put the LOG outside of "with" statement.
Bug #1754317 reported by
weikeyou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
In Progress
|
Undecided
|
weikeyou |
Bug Description
The following usage of with:
with ... as ..:
try:
LOG.
statement A;
except Exception as e:
LOG.
if some errors occur in statement A, we can't get the info or debug logs.
Changed in zun: | |
assignee: | nobody → weikeyou (weikeyou) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in zun: | |
status: | New → In Progress |
summary: |
- Modifying the usage of the ’with‘ and ’try‘ + Put the LOG outside of "with" statement. |
To post a comment you must log in.
Change abandoned by weikeyou (<email address hidden>) on branch: master /review. openstack. org/551046
Review: https:/