Skip to content

Commit 36b2d75

Browse files
committed
Increase truncation limit to 1000
1 parent 9661815 commit 36b2d75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/raven/integrations/delayed_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ class Raven < ::Delayed::Plugin
2424
}
2525
}
2626
# last_error can be nil
27-
extra[:last_error] = job.last_error[0...100] if job.last_error
27+
extra[:last_error] = job.last_error[0...1000] if job.last_error
2828
# handlers are YAML objects in strings, we definitely can't
2929
# report all of that or the event will get truncated randomly
30-
extra[:handler] = job.handler[0...255] if job.handler
30+
extra[:handler] = job.handler[0...1000] if job.handler
3131

3232
if job.respond_to?('payload_object') && job.payload_object.respond_to?('job_data')
3333
extra[:active_job] = job.payload_object.job_data

0 commit comments

Comments
 (0)