BUGFIX: raise on fail

This commit is contained in:
Sam 2014-01-31 12:23:37 +11:00
parent 4825bf7e02
commit b33faa85c0
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ module Jobs
User.exec_sql("COMMIT") if in_tran
rescue
User.exec_sql("ROLLBACK") if in_tran
raise
end
true