summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-10-10 05:24:05 +0000
committerGerrit Code Review <review@openstack.org>2019-10-10 05:24:05 +0000
commitdb2e6df49f7dba74d294a54daaf0231892f815d7 (patch)
treea22c8b40f708725cf46b671c4a8836ea4cf4c740
parentc83e0366b6532a07eece40e385c54c590f49933c (diff)
parent5e96f6fa772a105047f11fa143a529c24265f687 (diff)
downloadzuul-db2e6df49f7dba74d294a54daaf0231892f815d7.tar.gz
Merge "Include session expired reason in API fetch error message."
-rw-r--r--web/src/actions/errors.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/actions/errors.js b/web/src/actions/errors.js
index b90369d6b..01a70b77b 100644
--- a/web/src/actions/errors.js
+++ b/web/src/actions/errors.js
@@ -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)