When * DO * we show StackTraces on production systems

In what specific situation is it normal (or even recommended) to introduce StackTrace to end users in their user interface in the production system .

There are many websites and SO articles where people ask if they should show StackTraces to the end user. No wonder the answers are loud No! .

For instance:

However, I recently had a conversation with another developer, where I spent a lot of time thinking about why stacks should not be passed to the user through the user interface. This discussion made me go back and return to one of my main (absolute) tenants - the user will never see the raw StackTrace in production.

I could not find a single convincing reason. Nevertheless, I am sure that there is a valid usecase, and I would like to either understand this or feel comfortable while continuing to keep my tenant absolute .

+5
source share
4 answers

You don’t ... they just don’t help the user.

. , , , , , , HTML / ..

+6

, , , , . , , , . , , , ( ). ​​ - ( ) , , , .

+1

. , , , , , , , .

. , , , .

+1

, , , . , , - - .

​​, , . . , atiumdag.dll.

:

:

. , " ".

: .

: , .

: .

: , .

: .

: , .

: .

: , .

:

. , " ".

: "details" .

Client: (sends stack trace)

Support: this is caused by a known application error that is triggered by the X function when the application is installed in the default path. It will be fixed in the next version released next year. However, you can work around it by disabling the X function or reinstalling the application along the default installation path.

0
source

All Articles