Skip to content

Commit bc8988a

Browse files
committed
Clear context in DelayedJob
1 parent d40e0e9 commit bc8988a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/raven/integrations/delayed_job.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ class Raven < ::Delayed::Plugin
4242

4343
# Make sure we propagate the failure!
4444
raise exception
45+
ensure
46+
Context.clear!
47+
BreadcrumbBuffer.clear!
4548
end
4649
end
4750
end

0 commit comments

Comments
 (0)