I am doing a lot of API development and tend to interact with my rails app from a command line or network proxy.
How can I make rails use plaintext errors and backtraces instead of html ones?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Errors are printed in the server log as plaintext. If you don’t have easy access to the logs, you could write a custom exception handler which would print the error to the user in plaintext.