Azure Functions bindings for SignalR Service. Project moved to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService .
according to this documentation, the HubException should hide a stack trace from the client. But if I use the following code, my client can still see the whole stack trace.
I'm using Azure Service SignalR - serveless mode + Azure functions v4(isolated worker process). Is it possible to hide the stack trace for this combination? Thanks.
[Function(nameof("Subscribe"))]
[SignalROutput(HubName = "Hub", ConnectionStringSetting = "AzureSignalRConnectionString")]
public SignalRGroupAction Subscribe(
[SignalRTrigger("Hub", "messages", "Subscribe")]
SignalRInvocationContext invocationContext
)
{
throw new HubException("This error will be sent to the client!");
}
Hi all,
according to this documentation, the
HubException
should hide a stack trace from the client. But if I use the following code, my client can still see the whole stack trace. I'm using Azure Service SignalR - serveless mode + Azure functions v4(isolated worker process). Is it possible to hide the stack trace for this combination? Thanks.