Skip to content

Commit eacb389

Browse files
committed
fix: ExceptionNotifier is unavailable/unknown
1 parent 9d9f619 commit eacb389

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tasks/scheduler.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace :scheduler do
3131
def with_tracking
3232
yield
3333
rescue StandardError => e
34-
ExceptionNotifier.notify_exception(e) if Rails.env.production?
34+
Appsignal.report_error(e) if Rails.env.production?
3535
Rails.logger.error("exception during task invocation: #{e}\n#{e.backtrace.join("\n")}")
3636
end
3737
end

0 commit comments

Comments
 (0)