Elixir integration 1.2 released

Jeff Jeff Kreeftmeijer on

Over the last couple of weeks, we’ve updated the error handling in the Elixir integration. We now catch more errors, and store more information about them.

Error handling

The Phoenix integration now catches errors in our Phoenix plug instead of leaving them to be handled by our ErrorHandler. This allows for more types of errors to be caught in Phoenix requests, like timeouts.

Besides that, we’ve improved error categorizing, which allows us to group errors by type. Also, more information about the errors is being sent from the integration, and the failing function call is removed from the backtraces.


Backtraces are now handled by a separate module, so Appsignal.ErrorHandler.format_stack/1 is deprecated in favor of Appsignal.Backtrace.from_stacktrace/1. Also, Appsignal.Phoenix.extract_error_metadata/3 was moved to Appsignal.Phoenix.Plug.extract_error_metadata/3. These functions will be removed in version 2.0.

Please see the changelog for more details about these improvements, and bugfixes. And as always: get in touch if you encounter problems after upgrading. We’re happy to help!

5 favorite Elixir articles

10 latest Elixir articles

Go back
Elixir alchemy icon

Subscribe to

Elixir Alchemy

A true alchemist is never done exploring. And neither are we. Sign up for our Elixir Alchemy email series and receive deep insights about Elixir, Phoenix and other developments.

We'd like to set cookies, read why.