AppSignal v1.9.0 Appsignal.ErrorHandler View Source

Error handler which sends all crash reports to the AppSignal backend.

When you add :appsignal to your application’s dependencies, this error logger will automatically be installed. All processes that are supervised, like GenServers, Tasks, Agents, Supervisored will be monitored for crashes. In the case of a crash, the AppSignal error handler collects error information and sends it to the backend.

Link to this section Summary

Link to this section Functions

Link to this function extract_reason_and_message(any, prefix) View Source
This function is deprecated. Use Appsignal.Error.metadata/1 instead..
Link to this function handle_error(transaction, error, stack, conn) View Source
handle_error(Appsignal.Transaction.t(), any(), Exception.stacktrace(), map()) ::
  :ok
Link to this function handle_event(event, state) View Source
Link to this function normalize_reason(reason) View Source
This function is deprecated. Use Appsignal.Error.metadata/1 instead..
Link to this function submit_transaction(transaction, reason, message, stack, metadata, conn \\ nil) View Source