'Overiding error view on prod in Ruby on Rails
Is there a way to override this error message from production to show the stack trace, maybe a way to edit the view?
We used to have sentry but the company decided to opt-out for some reason and we're having trouble tracing the error on production. The site is for internal use so the domain only works in the company's network.
Also, I was wondering where can I get the top level error on Ruby on Rails like on Express they have this way of handling error in one place.
Nodejs Express example: express err handling
app.use(function (err, req, res, next) {
console.error(err.stack)
res.status(500).send('Something broke!')
})
This way I could send an email to our software team.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

