server/migractions.py
branchstable
changeset 6187 348c7d93cda3
parent 6186 8ada7df95877
child 6189 9fa02f352c8c
--- a/server/migractions.py	Tue Sep 07 23:00:53 2010 +0200
+++ b/server/migractions.py	Tue Sep 07 23:02:08 2010 +0200
@@ -1327,7 +1327,7 @@
                 cu = self.session.system_sql(sql, args)
             except:
                 ex = sys.exc_info()[1]
-                if self.confirm('Error: %s\nabort?' % ex):
+                if self.confirm('Error: %s\nabort?' % ex, pdb=True):
                     raise
                 return
             try:
@@ -1355,7 +1355,7 @@
                 try:
                     res = execute(rql, kwargs, build_descr=build_descr)
                 except Exception, ex:
-                    if self.confirm('Error: %s\nabort?' % ex):
+                    if self.confirm('Error: %s\nabort?' % ex, pdb=True):
                         raise
         return res