Turn off widget stack traces
My custom widget is displaying an exception message with a stack trace.
I don't care about why I'm getting the exception. How can this be turned off? I don't ever want a user to see an exception or stack trace on the live site. 'customErrors' is already turned On in the web.config.
Hi Sam,
Can you try by setting <customErrors mode="RemoteOnly"> in the web.config file as recommended here in this article?
Best Regards,
Junior Dominguez
Telerik
I already wrote that customErrors is turned On, which is even more-specific than RemoteOnly.
Hi Sam,
Actually this error is server error and you need also to handle it by setting the httpError also.
More information how you could handle the server error could be found for example in that blog post.
I hope this information helps.
Regards,
Svetoslav Manchev
Telerik