Re-raise python exception correctly
Bug #1726846 reported by
Petr Jediný
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
try:
...
except Exception as e:
raise e
will create new stack trace on python 2 we should re-raise with raise only
try:
...
except Exception as e:
raise
as described in http://
no longer affects: | opencontrail |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/36759
Submitter: Petr Jedin? (<email address hidden>)