Turn off widget stack traces

Posted by Community Admin on 04-Aug-2018 20:13

Turn off widget stack traces

All Replies

Posted by Community Admin on 19-Jan-2015 00:00

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. 

Posted by Community Admin on 22-Jan-2015 00:00

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

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 22-Jan-2015 00:00

I already wrote that customErrors is turned On, which is even more-specific than RemoteOnly.

Posted by Community Admin on 27-Jan-2015 00:00

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

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed