Page tree
Skip to end of metadata
Go to start of metadata

When a error occurs, Datameer replies to the user with the error message along with a stack trace to help diagnose the problem. This could be a security concern to some users who want to prevent their Datameer instance from giving internal structural information to outside users.

The following property, located in the default.properties file, gives the option to remove the stack trace log from appearing in user error messages:

conf/default.properties
# displaying stack traces on error pages
verbose.error.reporting=false

This property is set to true by default as stack traces for error messages can be very useful to help resolve a problem if one should occur. 

Setting the property to false disables the REST API responding with stack traces as well as disabling the controllers from sending stack traces to all non-admin role members.

  • No labels