I
ivan.pavlov
I am using ruby-web to create a simple web application. Basically I
have some code, I process submitted forms and then I do
Web:pen do
puts html
end
If an error occurs in the code I get : Internal Server Error in the
browser and no information whatsoever about the error.
My question is - can I make the exact error appear in the browser, so I
can fix it easily? I can run my code in console and then I see the
error but if I have user-submitted data before the error occured it
becomes difficult...
have some code, I process submitted forms and then I do
Web:pen do
puts html
end
If an error occurs in the code I get : Internal Server Error in the
browser and no information whatsoever about the error.
My question is - can I make the exact error appear in the browser, so I
can fix it easily? I can run my code in console and then I see the
error but if I have user-submitted data before the error occured it
becomes difficult...