From 45648b4e261684d5d8bf9f58d1c01c9f3bf952c1 Mon Sep 17 00:00:00 2001
From: Nico Vermaas <vermaas@astron.nl>
Date: Mon, 9 Aug 2021 09:11:37 +0200
Subject: [PATCH] make error messages a bit more explicit

---
 src/contexts/GlobalContext.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/contexts/GlobalContext.js b/src/contexts/GlobalContext.js
index ca5e922..62c9a26 100644
--- a/src/contexts/GlobalContext.js
+++ b/src/contexts/GlobalContext.js
@@ -30,7 +30,7 @@ function setProfileState(api_host,
     })
 
     .catch((error) => {
-        alert(error)
+        alert('GlobalContext.setProfileState:' + error)
         // when the token is no longer valid, .get with credentials will fail
         // mark the user as being logged out
         localStorage.removeItem('esap_logged_in')
-- 
GitLab