mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-22 04:45:46 -04:00
BUGFIX: raise on fail
This commit is contained in:
parent
4825bf7e02
commit
b33faa85c0
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue