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:
|
||||
pass
|
||||
except:
|
||||
traceback.print_stack()
|
||||
traceback.print_exc()
|
||||
raise
|
||||
finally:
|
||||
self.is_active = False
|
||||
|
Loading…
Reference in New Issue
Block a user