interagent / pliny

An opinionated toolkit for writing excellent APIs in Ruby.
MIT License
802 stars 73 forks source link

Pliny strips newlines from error messages? #217

Closed msakrejda closed 9 years ago

msakrejda commented 9 years ago

We're recently moved some endpoints to Pliny and I noticed that it appears to be stripping newlines form our error messages. I've looked at the RescueErrors middleware and Pliny::Errors.render, but I can't figure out where this is coming from. Any ideas?

msakrejda commented 9 years ago

Ok, after trying to repro standalone, I'm less convinced this is a Pliny issue. I'll reopen if I can repro.