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
Is your enhancement related to a problem? Please describe.
When the Sync page sends an AJAX request to sync, if the response is not valid JSON the apiFetch function catches an error when parsing the JSON an throws a generic error message. This can make debugging for customers somewhat more difficult.
Describe the solution you'd like
Replace apiFetch with a regular fetch() implementation and log error responses to the console when parsing JSON before throwing a generic error message.
The text was updated successfully, but these errors were encountered:
Is your enhancement related to a problem? Please describe.
When the Sync page sends an AJAX request to sync, if the response is not valid JSON the
apiFetch
function catches an error when parsing the JSON an throws a generic error message. This can make debugging for customers somewhat more difficult.Describe the solution you'd like
Replace
apiFetch
with a regularfetch()
implementation and log error responses to the console when parsing JSON before throwing a generic error message.The text was updated successfully, but these errors were encountered: