"raise InternalServerError" misbehaves
Reported by David James | September 29th, 2008 @ 03:56 AM | in 0.9.8
I can successfully raise BadRequest, NotFound, Forbidden and get the results I expect (i.e. calling the respective actions in the Exceptions controller).
But when I raise InternalServerError it is not calling internal_server_error in Exceptions.
Comments and changes to this ticket
-
David James September 29th, 2008 @ 03:57 AM
- → Title changed from raise InternalServerError to "raise InternalServerError" misbehaves
-
David James September 29th, 2008 @ 03:58 AM
When looking at the response in Firebug, I get a 200 (OK). I would expect a 500.
-
David James September 29th, 2008 @ 03:59 AM
I don't see any obvious reason why "raise InternalServerError" wouldn't behave in the same way.
-
David James September 29th, 2008 @ 04:17 AM
well, this (http://gist.github.com/13534) worked for my particular problem, but it seems way too blunt. I haven't run the project specs to see the effect on them
-
David James September 29th, 2008 @ 05:19 AM
I made a fix on my fork of merb-core: http://github.com/djwonk/merb-co...
-
Michael Klishin (antares) September 30th, 2008 @ 07:20 PM
- → Milestone changed from to 0.9.8
- → State changed from new to resolved
- → Assigned user changed from to Michael Klishin (antares)
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
