Class QueuedThread does not proopagate exceptions to caller
Bug #1592589 reported by
Deklan Dieterly
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
Undecided
|
Deklan Dieterly | ||
Mitaka |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Class QueuedThread does not log or pass exceptions up to caller. This makes exceptions in threads invisible.
Changed in freezer: | |
status: | New → In Progress |
assignee: | nobody → Deklan Dieterly (deklan) |
Changed in freezer: | |
milestone: | none → newton-2 |
To post a comment you must log in.
This code in QueuedThread will not do anything when an exception is caught. Raising an exception from a thread will not propagate to the caller. The exception will be lost.
def run(self):
super( QueuedThread, self).run()
self. rich_queue. force_stop( )
try:
except Exception as e:
raise e