Forum: Ruby on Rails ActionWebService - omit backtrace in error response

Posted by Jm Freitas (jmfreitas)
on 2009-07-03 16:23
(Received via mailing list)
I'm using ActionWebService to expose a WebService of my application,
and I would like to control the error responses sent back to the
client.
At very least, I would like to prevent the XML to include the
backtrace.
How can I do this?
Posted by Nicholas Henry (nicholas-henry)
on 2009-07-03 16:38
(Received via mailing list)
I wouldn't have thought the backtrace would be outputted in production
mode. Have you tried running in production mode? script/server -e
production
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.