I'm a believer in not hiding things and logging the whole problem all the way to the end consumer:
Because when you develop things you are the end consumer.
Because when you develop things you are the end consumer.
[0] https://owasp.org/www-project-top-ten/2017/A6_2017-Security_...
Security by obfuscation is generally not a good option if you can avoid it.
I strongly urge everyone to hide their stack traces in production. This will reduce your application's attack surface.
Of course, but obscurity increases security
Technical errors are way better than just "I'm sorry we couldn't process that right now."
But anyway I was really using "backtrace" as a synonym for "technical details that users don't understand". Not very clear, sorry!