BUGFIX: raise on fail
This commit is contained in:
parent
4825bf7e02
commit
b33faa85c0
|
@ -205,6 +205,7 @@ module Jobs
|
|||
User.exec_sql("COMMIT") if in_tran
|
||||
rescue
|
||||
User.exec_sql("ROLLBACK") if in_tran
|
||||
raise
|
||||
end
|
||||
|
||||
true
|
||||
|
|
Loading…
Reference in New Issue