How to suppress error message details to general DNN Users
- by thames
I have a DNN site (05.02.03) in test and nearing release into production and I would like to suppress the details of error messages (i.e. Null Reference Exception, and others) to general users (admins can still see the details). Debug is off in the web.config.
By suppressing, I mean the only error message I want to display to the general user (all users) is something like "An Exception has occured". I don't want the details of that exception to be displayed to the general user. I still want it logged in greater detail in the Event Viewer.
How would I go about doing this?
Update: I have "Use Custom Error Messages" checked. Which shows a error message like:
A critical error has occurred.[vbCrLf] Object reference not set to an instance of an object.
I want just the "A critical error has occured." error message to be displayed to general users.
I don't want the "Object referece not set to an instance of an object." to be displayed to general users