
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!
Wondering what you can do next?
Finished this article? Here are a few more things you can do:
- Try out AppSignal with a 30-day free trial.
- Reach out to our support team with any feedback or questions.
- Share this article on social media
Most popular AppSignal articles
Easily Monitor Multiple Heroku Apps with AppSignal
You can now monitor multiple Heroku apps from a single AppSignal instance.
See moreFine-Tune Your Charts with Minutely Metrics in AppSignal
Discover how minutely metrics in AppSignal deliver precise performance monitoring. Check out detailed performance data, spot anomalies quickly, troubleshoot issues more efficiently, and optimize your application's performance.
See moreSecure Your Sign-Ins with AppSignal's Single Sign-On
Secure team sign-ins and enhance access management with AppSignal's Single Sign-On Business Add-On. Integrate AppSignal with your identity provider for seamless, secure access management.
See more

Jeff Kreeftmeijer
Become our next author!
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!
