i try to rescue REXML::ParseException in rescue_action_in_public but nothing works always a "Stat.us: 500 Internal Server Error".
here is the command i pass to test it: curl -H 'Content-Type: application/xml' -H "Accept: text/xml" -d '<test>kjkljsldkj</not_a_good_tag_end>'http://localhost:3000/messages
Any idea how to handle this kind of error?