class Sentry::Rack::CaptureExceptions

def capture_exception(exception, env)

def capture_exception(exception, env)
  Sentry.capture_exception(exception).tap do |event|
    env[ERROR_EVENT_ID_KEY] = event.event_id if event
  end
end