mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: report db when we get an exception in multisite
This commit is contained in:
parent
2d16255185
commit
8699c929db
@ -154,6 +154,7 @@ module Jobs
|
|||||||
execute(opts)
|
execute(opts)
|
||||||
rescue => e
|
rescue => e
|
||||||
thread_exception[:ex] = e
|
thread_exception[:ex] = e
|
||||||
|
thread_exception[:other] = { problem_db: db }
|
||||||
end
|
end
|
||||||
rescue => e
|
rescue => e
|
||||||
thread_exception[:ex] = e
|
thread_exception[:ex] = e
|
||||||
|
Loading…
Reference in New Issue
Block a user