Skip to content

Commit 1ce6aa7

Browse files
iHiDclaude
andauthored
Exclude PreqJobNotFinishedError from Sentry reporting (#8614)
This error is a normal, transient condition raised when a dependent job runs before its prerequisite jobs have completed. Sidekiq's default retry handles it correctly — the only issue was Sentry noise. Closes #8597 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e093020 commit 1ce6aa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/initializers/sentry.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
config.environment = Rails.env
1515
config.breadcrumbs_logger = %i[active_support_logger http_logger]
1616
config.send_default_pii = false
17-
config.excluded_exceptions += ['ActiveRecord::Deadlocked']
17+
config.excluded_exceptions += ['ActiveRecord::Deadlocked', 'MandateJob::PreqJobNotFinishedError']
1818
config.before_send = SENTRY_ACTIVE_STORAGE_FILTER
1919
end
2020
end

0 commit comments

Comments
 (0)