You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the calls to JSON.parse must be wrapped by a try / catch statement since the process can raise an exception when the JSON invalid. Until now we have assumed that the server will always return a valid JSON, but this is not always true.