appsignal

Elixir integration 1.2 released

Jeff Kreeftmeijer

Jeff Kreeftmeijer on

Elixir integration 1.2 released

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.

Deprecations

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!

Share this article

RSS

AppSignal monitors your apps

AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!

Discover AppSignal
AppSignal monitors your apps