From fd4f031963d0582fae473ea60c1c0e6e9e1f24dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Tr=C3=A1vn=C3=ADk?= Date: Mon, 1 Dec 2025 17:45:28 +0100 Subject: [PATCH] Better error logging for password verification failure --- app/client/components/export-dialog.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/client/components/export-dialog.tsx b/app/client/components/export-dialog.tsx index 4d44c023..6d5cf695 100644 --- a/app/client/components/export-dialog.tsx +++ b/app/client/components/export-dialog.tsx @@ -244,8 +244,10 @@ export function ExportDialog({ } // Password verified, proceed with export await performExport(); - } catch { - toast.error("Incorrect password"); + } catch (err) { + toast.error("Verification failed", { + description: err instanceof Error ? err.message : "Unable to verify password. Please check your connection and try again.", + }); } finally { setIsVerifying(false); }