Skip to content

Sentry not working with Rails 4.2.5.1 ? (undefined method `[]=' for nil:NilClass) #460

@vdaubry

Description

@vdaubry

When adding Sentry to a new Rails 4.2.5.1 project i get undefined method []=' for nil:NilClass` after every exception

It makes stack traces harder to read, and worse : 404 errors such as routing errors turn into 500.

Here is a sample stack trace illustrating the problem : https://gist.github.com/vdaubry/b8be537646c4f3536bc8

Here is the list of gems (i only added sentry to a new rails project) :
https://gist.github.com/vdaubry/5511ef807134b3ee3e07

Steps to reproduce :

  • Create a new rails 4.2.5.1 project
  • Add sentry gem

Edit :
If i remove the sentry-raven gem the undefined method []=' for nil:NilClass` disappears

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions