From: patrick-may@... (Patrick May) Date: 2002-09-18T12:29:07+09:00 Subject: Re: Custom error messages in eruby? sera@fhwang.net (Francis Hwang) wrote in message news:<7b561b93.0209171141.1e336a93@posting.google.com>... > Is there a way to configure eRuby so you can get custom error > messages, instead of that basic "Internal Server Error" page? If you want to have a more nicely formatted error, I think Apache gives you options to have better messages. If you are trying to get your errors sent to the browser instead of the apache logs, try inserting a rescue block in cgi.out (I assume you aren't using narf :-). Here's a rough example: cgi.out{ begin # ... do stuff rescue error => Exception error.to_s end } ~ Patrick