Hi,
I'm trying to implement some error handling in my cloudscript. I'm doing it by wrapping all my internal functions in a function that does try/catch and writes the caught error to the players playstream. My problem is that however I'm constructing the Error myself or forcing PlayFab to throw one, all I get in my generic try/catch function is "{}". I am JSON.stringifying the caught err btw.
Also tried with just a straight up try/catch (no fancy wrapping) and same, just "{}". Can somebody tell me what's going on here?
Title ID I'm testing this on: 78CC
Also, what would be the reason the playstream does not include cloud script errors for players? When I test run cloudscript from Game Manager and they throw errors it does produce a nice playstream event with error info that's extremely useful to hunt down bugs. But when the call comes from a client there's no errors in the stream, only in the response to the client.
Many thanks, Oskar