Is there way to register a callback that gets called when an uncaught exception is thrown from a StreamingHub receiver method on the client? I.e. when the server calls a receiver method and the receiving client throws an exception while handling the call. This is a Unity client.
I can wrap the logic inside of each receiver method with a try/catch, but I neglected to do that with a method, and lost some time today trying figure out why something broke, because my logging system didn't log the exception that was thrown. I'd like to ensure this does not happen in the future, even if I neglect to add a try/catch again, but I couldn't find a way to do that.
Wonderful library, really enjoying using it!
Is there way to register a callback that gets called when an uncaught exception is thrown from a StreamingHub receiver method on the client? I.e. when the server calls a receiver method and the receiving client throws an exception while handling the call. This is a Unity client.
I can wrap the logic inside of each receiver method with a try/catch, but I neglected to do that with a method, and lost some time today trying figure out why something broke, because my logging system didn't log the exception that was thrown. I'd like to ensure this does not happen in the future, even if I neglect to add a try/catch again, but I couldn't find a way to do that.