No errors are reported to AppSignal for Rails 5.1

Affected components

  • AppSignal Ruby package versions: v2.2.1 and earlier
  • Apps running Rails 5.1 or higher

Description

After upgrading to Rails 5.1, or creating a new app with Rails 5.1 and using an older AppSignal gem version, no errors are reported from the app.

In Rails 5.1 some middleware was changed that Rails uses to show error pages with debug information in development and user-facing error pages in production. These changes affected AppSignal so that the errors were no longer reaching the AppSignal middleware and a change in location in the middleware stack was required.

Solution

Upgrade to AppSignal for Ruby package version 2.2.1 or higher. We recommend upgrading to the latest version.

Want to help us improve this documentation page?

Create a pull request

Need more help?

Contact us and speak directly with the engineers working on AppSignal. They will help you get set up, tweak your code and make sure you get the most out of using AppSignal.

Contact us

Start a trial - 30 days free

AppSignal is a great way to monitor your Ruby, Elixir & Node.js applications. Works great with Rails, Phoenix, Express and other frameworks, with support for background jobs too. Let's improve your apps together.

Start a trial