From 346cb87830dd9c1c5829d5d9196f4ec10f55e30c Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Thu, 23 May 2013 21:40:27 +0200 Subject: [PATCH] Print traceback in redo --- sith.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sith.py b/sith.py index bda0f663..34c70bea 100755 --- a/sith.py +++ b/sith.py @@ -208,7 +208,11 @@ class RedoAttacker(MixinLoader, BaseAttacker): def do_run(self, record, recid): super(RedoAttacker, self).do_run(record, recid) data = self.get_record(recid) - self.attack(data['operation'], *data['args']) + try: + self.attack(data['operation'], *data['args']) + except: + traceback.print_exc() + raise class ShowRecord(MixinLoader, MixinPrinter, BaseAttacker):