Hi,
Im trying to print all error information to the browser so I don't have
to monitor the apache log every time I have a syntax error.
So far, it's working very well with
begin
...
main prg
...
rescue SystemCallError => rescueError
if (rescueError)
puts "<pre>"
puts rescueError.message
puts rescueError.backtrace
puts "</pre>"
end
end
however, I have to specify the error, is there some sort of catch-all
exception I can use? I tried 'Exception' which catches SystemCallErrors
as far as I could tell, but I still got Internal Errors (500)
db
--
Jun 19* Corpus Christi (11 days after Pentecost)
Jun 19 Julius and Ethel Rosenberg are executed in Sing-Sing prison, 1953
Jun 19 Lizzie Bordon acquitted, 1893
Jun 19 Emancipation Day in Texas
Jun 19 Labor Day in Trinidad and Tobago
Jun 19 Revolution Day in Algeria
Jun 19 Artigas Birthday in Uruguay