This is useful when debugging. it's difficult to debug without backtrace.

Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/controller/controller.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 8f06c1e..79a3343 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/controller.py
@@ -69,6 +69,7 @@ def _deactivate(method):
             pass
         except:
             traceback.print_stack()
+            traceback.print_exc()
             raise
         finally:
             self.is_active = False
-- 
1.7.1.1


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to