Custom 500 error handler still displaying default error text

I've overridden the default error handling mechanism with a custom
error handler library that's included in environment.rb:

Adam/All,

Did you work this out / know how to fix this? I’m seeing the same thing here (i.e. want to stop that text at the top of the page coming in, it’s as if it’s part of the HTTP 500 error message process that perhaps the browser puts in there?)

Question = How to stop the the “Status: 500 Internal Server Error…” message being inserted mysteriously at the top of the 500.html page? (or do I have to redirect to a rails action/view for errors to solve this? (guess this won’t be very good if rails itself is the issue and is not working - or perhaps do this for exception you catch and leave the 500 error mechanism unchanged?)

Regards
Greg