Commits

Andrew Godwin committed f2cd78e

Fixed #1022: Show error messages from DB commit

Comments (0)

Files changed (1)

south/migration/migrators.py

             print "Error in migration: %s" % migration
             raise
         else:
-            south.db.db.commit_transaction()
+            try:
+                south.db.db.commit_transaction()
+            except:
+                print "Error during commit in migration: %s" % migration
+                raise
+                
 
     def run(self, migration):
         # Get the correct ORM.