mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
Print traceback in redo
This commit is contained in:
6
sith.py
6
sith.py
@@ -208,7 +208,11 @@ class RedoAttacker(MixinLoader, BaseAttacker):
|
|||||||
def do_run(self, record, recid):
|
def do_run(self, record, recid):
|
||||||
super(RedoAttacker, self).do_run(record, recid)
|
super(RedoAttacker, self).do_run(record, recid)
|
||||||
data = self.get_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):
|
class ShowRecord(MixinLoader, MixinPrinter, BaseAttacker):
|
||||||
|
|||||||
Reference in New Issue
Block a user