Skip to content

Commit d3aff5d

Browse files
authored
Merge pull request getsentry#633 from darrennix/master
Increase truncation limit on handler to 1000
2 parents 40f05be + 36b2d75 commit d3aff5d

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...100] 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)