Base solution for your next web application
Open Closed

SignalR EnableDetailedErrors #9026


User avatar
0
alexanderpilhar created

8.7.0, Core, Angular

In Web.Host\Startup\Startup.cs we can see the following line: services.AddSignalR(options => { options.EnableDetailedErrors = true; });

This is what Microsoft Docs say about EnableDetailedErrors:

If true, detailed exception messages are returned to clients when an exception is thrown in a Hub method. The default is false, as these exception messages can contain sensitive information.

So, you might not want to have EnableDetailedErrors turned on in an production environment. I guess, this might have been forgotten to be disabled after debugging some SignalR stuff?


1 Answer(s)