Skip to content

Commit 6d388aa

Browse files
author
Oleksandr Matkovskyi
committed
Fixed constantize issue
1 parent 3377a28 commit 6d388aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry-resque/lib/sentry/resque.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def record(queue, worker, payload, &block)
3232

3333
finish_transaction(transaction, 200)
3434
rescue Exception => exception
35-
klass = payload['class'].constantize
35+
klass = payload['class'].to_s.constantize
3636

3737
raise if Sentry.configuration.resque.report_after_job_retries &&
3838
defined?(::Resque::Plugins::Retry) == 'constant' &&

0 commit comments

Comments
 (0)