We're sorry, but something went wrong

So I’m in the early stages of rolling out a system to production, and a
few app errors are cropping up that didn’t get caught in testing, and it
occurs to me: it would be nice if the default “we’re sorry, but
something went wrong” error page could include a timestamp.


Scott R.
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice

That sounds like a RoR app acting up and not the nginx server itself.

L.

On Oct 2, 2013, at 9:08 AM, Lasse L. [email protected] wrote:

That sounds like a RoR app acting up and not the nginx server itself.

Ah… Yes it is an error in RoR, but I had mistakenly thought that RoR
was failing to return a result to nginx, and nginx was serving up that
page. I see that in fact RoR’s exception handling is returning that page
to nginx.

So I know exactly what to do :wink:


Scott R.
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs