Skip to content

Commit 9661815

Browse files
committed
Increase truncation limit on handler to 255
1 parent 1baa7f2 commit 9661815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/raven/integrations/delayed_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Raven < ::Delayed::Plugin
2727
extra[:last_error] = job.last_error[0...100] 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...100] if job.handler
30+
extra[:handler] = job.handler[0...255] 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)