scoreboard icon indicating copy to clipboard operation
scoreboard copied to clipboard

When user is not signed in: Error: "failed to authenticate"

Open guidorice opened this issue 4 years ago • 0 comments

This error is printed to the JavaScript console when the user is not signed in. Instead the error should be caught and if necessary to prompt user to login again. If they were logged in, and their token cannot be refreshed, they should be prompted as to what to do next. If there is no session info at all (e.g. Scoreboard server was restarted) then I think it would be fine to just suppress this error instead of reaching the console.

If I recall correctly, some browsers (IE?) can get a little annoying when they see errors being logged to console.

Error: "failed to authenticate"
    getUserInfo index.js:71
index.js:2178
    __stack_frame_overlay_proxy_console__ index.js:2178

guidorice avatar Mar 25 '20 20:03 guidorice