I am using the C# SignalR client library, and I caused an exception inside one of my message handlers. (Oops!) I noticed that it silently abandons the handler. Is there any way to specify a general exception handler for when a given delegate fails to handle it? Or do I need to wrap each handler individually in a try-catch block?
connection.On("CreateMessage", () => throw new Exception("Oops!"));