msg isn't defined there, but we've to give traceback information to record error
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 22 Dec 2009 09:27:28 +0100
changeset 4173 cfd5d3270f99
parent 4172 4d4cef034eec
child 4181 c79135c217df
msg isn't defined there, but we've to give traceback information to record error
devtools/dataimport.py
--- a/devtools/dataimport.py	Mon Dec 21 20:28:08 2009 +0100
+++ b/devtools/dataimport.py	Tue Dec 22 09:27:28 2009 +0100
@@ -146,7 +146,7 @@
             if issubclass(type, (KeyboardInterrupt, SystemExit)):
                 return # re-raise
             if self.ctl.catcherrors:
-                self.ctl.record_error(self.key, msg)
+                self.ctl.record_error(self.key, None, type, value, traceback)
                 return True # silent