From 3c5525d294461fe04ef64685f9c5bada10ebcee2 Mon Sep 17 00:00:00 2001 From: JustTemmie <47639983+JustTemmie@users.noreply.github.com> Date: Thu, 3 Jul 2025 20:33:33 +0200 Subject: [PATCH] feat: display proper error messages when the client fails to update profile info --- components/Settings/UserSettings/Profile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Settings/UserSettings/Profile.vue b/components/Settings/UserSettings/Profile.vue index 0e648c6..13a717a 100644 --- a/components/Settings/UserSettings/Profile.vue +++ b/components/Settings/UserSettings/Profile.vue @@ -65,7 +65,7 @@ async function saveChanges() { alert('success!!') } catch (error: any) { if (error?.response?.status !== 200) { - alert(`error ${error?.response?.status} met whilst trying to update profile info`) + alert(`error ${error?.response?.status} met whilst trying to update profile info\n"${error?.response._data?.message}"`) } } };