Merge "Include session expired reason in API fetch error message."

This commit is contained in:
Zuul
2019-10-10 05:24:05 +00:00
committed by Gerrit Code Review

View File

@ -32,7 +32,8 @@ export const addApiError = error => {
d.text = error.response.statusText
d.status = error.response.status
} else {
d.status = 'Unable to fetch URL, check your network connectivity, browser plugins, and ad-blockers'
d.status = 'Unable to fetch URL, check your network connectivity,'
+ ' browser plugins, ad-blockers, or try to refresh this page'
d.text = error.message
}
return addError(d)