FEATURE: Discoruse.handle_exception

to report exception via sidekiq helper, adds extra context
This commit is contained in:
Sam Saffron
2014-02-21 14:30:25 +11:00
parent d95887c57d
commit 2ab76f60d1
4 changed files with 39 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ if Sidekiq.server?
manager.tick
rescue => e
# the show must go on
Scheduler::Manager.handle_exception(e)
Discourse.handle_exception(e)
end
sleep 1
end