Raygun
Send errors to Raygun. Errors can be captured in three different ways.
- Any errors that are logged
- Any exceptions that occur in a Plug
- Programmatically
Summary
report_exception(exception, opts \\ %{}) | Convenience function that captures the most recent stacktrace and reports it along with the exception. NOTE: it is the responsiblity of the caller to ensure that the most recent stacktrace is the one associated with the exception |
report_message(msg, opts \\ %{}) | Reports a string message. This function is used by the Raygun.Logger but it can also be used to report any string message |
report_plug(conn, stacktrace, exception, opts \\ %{}) | Reports an exception and its corresponding stacktrace to Raygun. Additionally this captures some additional information about the environment in which the exception occurred by retrieving some state from the Plug Conn |
report_stacktrace(stacktrace, exception, opts \\ %{}) | Reports an exception and its corresponding stacktrace to Raygun |
send_report(json) | Send an error to Raygun |
Functions
Convenience function that captures the most recent stacktrace and reports it along with the exception. NOTE: it is the responsiblity of the caller to ensure that the most recent stacktrace is the one associated with the exception.
Reports a string message. This function is used by the Raygun.Logger but it can also be used to report any string message.
Reports an exception and its corresponding stacktrace to Raygun. Additionally this captures some additional information about the environment in which the exception occurred by retrieving some state from the Plug Conn.
Reports an exception and its corresponding stacktrace to Raygun.
Send an error to Raygun.