RaspberryPiFoundation / editor-api

Code Editor backend
https://editor.raspberrypi.org
GNU Affero General Public License v3.0
22 stars 4 forks source link

Upgrade sentry-rails Gem #331

Closed chrisroos closed 2 weeks ago

chrisroos commented 2 weeks ago

I was seeing the following error when trying to write a test around the admin functionality in editor-api:

NoMethodError:
  undefined method show_exceptions?' for #<ActionDispatch::Request POST
  "http://www.example.com/amin/projects" for 127.0.0.1>

It looks as though this was fixed in Sentry in PR 2049 and released in version 5.10.0.

The sentry-rails version constraint was added in 8d2ca2adc62c91244511fe05f3b5d8e1341566b8 but there was no explanation for it so I've assumed it's not necessary.

chrisroos commented 2 weeks ago

Thanks, @sra405 :+1: