module Qless::Middleware::Sentry

This middleware logs errors to the sentry exception notification service: getsentry.com/

Public Instance Methods

around_perform(job) click to toggle source
Calls superclass method
# File lib/qless/middleware/sentry.rb, line 10
def around_perform(job)
  super
rescue Exception => e
  SentryLogger.new(e, job).log
  raise
end