Rails controller exceptions don't show a Rack environment tab
Sometimes exceptions that are occurring from inside standard Rails controllers don't display the Rack environment within Airbrake. There's no Environment tab. I really need that for debugging efficiency. What could be causing this, since any exception from within a Rails request should have a Rack environment?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Morgan on 19 Apr, 2012 01:36 AM
Hi,
Sorry about the trouble you are experiencing
We know about this issue and are planning to do some work on the issue over the weekend
Morgan
3 Posted by Steve Landwehr on 10 Jul, 2012 05:40 PM
Hi Morgan. Are there any updates on this issue?
Support Staff 4 Posted by Morgan on 10 Jul, 2012 05:44 PM
Hi Steve,
Sorry about the lack of an update. Please make sure you upgrade your AirBrake gem to the most current version. When you get a chance let me know if errors that should have the environment tab still do not have one. Happy to help further with this if that does not solve the issue.
From,
Morgan
5 Posted by Steve Landwehr on 10 Jul, 2012 08:20 PM
I updated my Airbrake gem from 3.1.1 to 3.1.2 but I'm still not seeing the environment tab on newly-created errors.
Support Staff 6 Posted by Morgan on 10 Jul, 2012 08:39 PM
Hello Steve,
Thank you for the response. I am going to report this issue to the development team for further review. Could you also provide me with the version of rails and ruby you are running? as well as a paste / gist of the output of
Airbrake.configurationfrom the rails console of your app. These are vert useful tools for the development team to reproduce and solve your issue. Thank you for your patience on this. Please get back to me when you can.From,
Morgan
7 Posted by Steve Landwehr on 10 Jul, 2012 10:13 PM
Thanks for your help Morgan. In the Airbrake.configuration output below, I've removed our API key.
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
rails 3.2.5
Support Staff 8 Posted by Morgan on 16 Jul, 2012 05:17 PM
Hello Steve,
From a brief review of your Airbrake.configuration the line that says
Tells me that somehow even with
3.1.2installed your app is still using3.1.1Please make sure to remove the3.1.1version of the Airbrake gem and let me know if that solves it, as this may be the problem.From,
Morgan
9 Posted by Steve Landwehr on 16 Jul, 2012 05:38 PM
Our Airbrake.configuration is now reporting that we are using 3.1.2 and newly-created errors now have the Environment tab. Thanks for your help Morgan.
Support Staff 10 Posted by Morgan on 17 Jul, 2012 11:20 PM
Hello Steve,
That is great to hear! Please let me know if you run into any other problems that need to be solved. Happy to help :)
From,
Morgan
Morgan closed this discussion on 17 Jul, 2012 11:20 PM.