I am using the Javascript SDK.
Sometimes I get error messages in the browser console. They contain nice details about the error. But for the users, I don't want them to read this data; specially that it might contain credentials and so on..
For example, in PlayFabClientAPI.js, line 131 in Chrome, there is this line:
reject(xhrResult);
Which shows the error in console. The error allows me to read the request data and see the player's email and password..etc.
I could comment the line of course and solve the problem! But I am asking if there is a "cleaner" way to hide these messages after development is done (i.e "Release mode") without messing with the SDK source files.
Thank you.