Mercurial > gemma
diff client/src/components/gauge/Waterlevel.vue @ 4869:6b054b91d9b2
backend not reachable as error message etd. Login adjusted
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 19 Dec 2019 09:35:14 +0100 |
parents | 008bc1ae8897 |
children | de86a96d55c3 |
line wrap: on
line diff
--- a/client/src/components/gauge/Waterlevel.vue Tue Dec 17 15:05:56 2019 +0100 +++ b/client/src/components/gauge/Waterlevel.vue Thu Dec 19 09:35:14 2019 +0100 @@ -311,7 +311,7 @@ ); }) .catch(error => { - let message = "Problems with backend"; + let message = "Backend not reachable"; if (error.response) { const { status, data } = error.response; message = `${status}: ${data.message || data}`; @@ -1295,7 +1295,7 @@ } }) .catch(error => { - let message = "Problems with backend"; + let message = "Backend not reachable"; if (error.response) { const { status, data } = error.response; message = `${status}: ${data.message || data}`;