Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

SignalR EnableDetailedErrors #9026

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)