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
Web Console makes certain assumptions about the error formatting (i.e. 400) coming from the HTTP API - i.e. tries to parse its content assuming they are JSON, etc. Further down the chain we are doing stuff like toLocaleString(), etc. which all can result in breaking in application render process (basically, a blank screen).
We should ensure that:
We are rendering the associated error message only if a format matches the expected one and it's present at all
Error position is set within range
The logic prone to breaking happens is sufficiently isolated (i.e. in a try catch blocks) to prevent crashing the application.
The text was updated successfully, but these errors were encountered:
Web Console makes certain assumptions about the error formatting (i.e.
400
) coming from the HTTP API - i.e. tries to parse its content assuming they are JSON, etc. Further down the chain we are doing stuff liketoLocaleString()
, etc. which all can result in breaking in application render process (basically, a blank screen).We should ensure that:
The text was updated successfully, but these errors were encountered: