We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9f619 commit eacb389Copy full SHA for eacb389
1 file changed
lib/tasks/scheduler.rake
@@ -31,7 +31,7 @@ namespace :scheduler do
31
def with_tracking
32
yield
33
rescue StandardError => e
34
- ExceptionNotifier.notify_exception(e) if Rails.env.production?
+ Appsignal.report_error(e) if Rails.env.production?
35
Rails.logger.error("exception during task invocation: #{e}\n#{e.backtrace.join("\n")}")
36
end
37
0 commit comments