Christian Seiler wrote:
You mean doing something like this (I'm new to Ruby)?
begin
app.get '/shop/viewCategory.shtml?category=DOGS'
rescue Exception => e
puts e.to_s
end
No error reported (running slightly slower). Maybe I'll play with the
JIT-logging options later.
No, that won't work, you need to wrap it within the perform_action:
class ActionController::Base
def perform_action
#snip
rescue => e
p e
end
end
Cheers
--
Ola Bini (http://ola-bini.blogspot.com)
JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
"Yields falsehood when quined" yields falsehood when quined.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email