I'm working with a Grape API running on Goliath. Currently, if a method returns an error for some reason, the client receives a 500 – and the exact error raised!
How can I silence the output from the API and just have it return a generic 500 error?
I'm working with a Grape API running on Goliath. Currently, if a method returns an error for some reason, the client receives a 500 – and the exact error raised!
How can I silence the output from the API and just have it return a generic 500 error?