lib/rollbar.rb
# Reports an internal error in the Rollbar library. This will be reported within the configured
# Rollbar project. We'll first attempt to provide a report including the exception traceback.
# If that fails, we'll fall back to a more static failsafe response.
Reports an internal error in the Rollbar library. This will be reported within the configured
Rollbar project. We'll first attempt to provide a report including the exception traceback.
If that fails, we'll fall back to a more static failsafe response.
Reports an internal error in the Rollbar library . This will be reported within the configured Rollbar project . We ' ll first attempt to provide a report including the exception traceback . If that fails we ' ll fall back to a more static failsafe response .
def report_internal_error(exception)
      log_error "[Rollbar] Reporting internal error encountered while sending data to Rollbar."
      begin
        data = exception_data(exception, 'error')
      rescue => e
        send_failsafe("error in exception_data", e)
        return
      end
      data[:internal] = true
      begin
        payload = build_payload(data)
      rescue => e
        send_failsafe("error in build_payload", e)
        return
      end
      begin
        schedule_payload(payload)
      rescue => e
        send_failsafe("erorr in schedule_payload", e)
        return
      end
      begin
        log_instance_link(data)
      rescue => e
        send_failsafe("error logging instance link", e)
        return
      end
    end
def report_internal_error ( exception ) log_error "[Rollbar] Reporting internal error encountered while sending data to Rollbar." begin data = exception_data ( exception , 'error' ) rescue => e send_failsafe ( "error in exception_data" , e ) return end data [ :internal ] = true begin payload = build_payload ( data ) rescue => e send_failsafe ( "error in build_payload" , e ) return end begin schedule_payload ( payload ) rescue => e send_failsafe ( "erorr in schedule_payload" , e ) return end begin log_instance_link ( data ) rescue => e send_failsafe ( "error logging instance link" , e ) return end end
Reports an internal error in the Rollbar library.
Reports an internal error in the Rollbar library .
exception
<not_specific>