From 3576ccf97662fbc888386be0ea7ef0ce0cbf9553 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 28 Mar 2026 23:17:47 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20signIn=20error=20swallowing=20=E2=80=94?= =?UTF-8?q?=20re-throw=20so=20LoginView=20shows=20the=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/stores/auth.ts | 1 + src/views/LoginView.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stores/auth.ts b/src/stores/auth.ts index c5e618d..1400593 100644 --- a/src/stores/auth.ts +++ b/src/stores/auth.ts @@ -46,6 +46,7 @@ export const useAuthStore = defineStore('auth', () => { } catch (e) { error.value = e instanceof Error ? e.message : String(e) loading.value = false + throw e } } diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue index 584ec62..cd862cd 100644 --- a/src/views/LoginView.vue +++ b/src/views/LoginView.vue @@ -23,7 +23,7 @@ /> -

{{ error }}

+

{{ error || auth.error }}