From 2eef83d2d4950b8198552f4ba77cc6d5c4ce6ace Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pomucz=20Tam=C3=A1s?= <pomucz@sch.bme.hu>
Date: Wed, 12 Feb 2025 17:58:29 +0100
Subject: [PATCH] Profile save: more error handling

---
 src/actions/auth.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/actions/auth.js b/src/actions/auth.js
index 4de2837..a5e0dac 100644
--- a/src/actions/auth.js
+++ b/src/actions/auth.js
@@ -110,6 +110,7 @@ export const submitRegistration = ({
       alert('MentĂŠs nem sikerĂźlt!');
     }
   } catch (e) {
-    console.log(e);
+    console.log(e, e.response);
+    alert('MentĂŠs nem sikerĂźlt!');
   }
 };
-- 
GitLab