Enabling Stack Trace in Error Messages
To enhance user experience and prevent users from being overwhelmed by technical details, stack traces are disabled by default in error messages. Instead of displaying complex error information, a simplified message appears in the dialog. This article will guide you on how to enable the stack trace to display detailed error messages.
Enabling Stack Trace
For those who require more detailed error information, it is possible to enable the stack trace feature. This can be done by modifying the config.json
file. To enable the stack trace, set the ShowStackTrace
flag to true.
Steps to Enable Stack Trace:
- Go to ums site page and open the setting page
- select the
config.json
file from the drop down of the configuration setting page - Change ShowStackTrace value to
true
. - Save the changes to the
config.json
file.
Once enabled, the stack trace will be displayed in the error messages, providing more context for troubleshooting.
Disabling the stack trace by default helps maintain a clean and user-friendly interface. However, for advanced users or developers who need deeper insights into errors, enabling the stack trace is a straightforward process.