Errorgap.Plug (errorgap v0.1.0)

Copy Markdown View Source

A Plug that reports unhandled exceptions to Errorgap. Add to the top of your Phoenix endpoint:

plug Errorgap.Plug

Summary

Functions

Helper for Plug.ErrorHandler-style modules. Pass the kind, reason, and stacktrace passed to handle_errors/2.

Functions

report(conn, map)

Helper for Plug.ErrorHandler-style modules. Pass the kind, reason, and stacktrace passed to handle_errors/2.