controller: print backtrace when exception in addition to stacktrace
This is useful when debugging. it's difficult to debug without backtrace. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
c771dc8d6f
commit
3579a3e37c
@ -68,7 +68,7 @@ def _deactivate(method):
|
|||||||
except greenlet.GreenletExit:
|
except greenlet.GreenletExit:
|
||||||
pass
|
pass
|
||||||
except:
|
except:
|
||||||
traceback.print_stack()
|
traceback.print_exc()
|
||||||
raise
|
raise
|
||||||
finally:
|
finally:
|
||||||
self.is_active = False
|
self.is_active = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user