fix(ui): show real error message (not [object Object]) on OAuth link failure

This commit is contained in:
iamdoubz committed 2026-07-03 09:06:42 -05:00
1 parent 00ac43c705
commit 88e1fcf1d5
1 file changed
+2 -1
+2 -1
View File
@@ -5,6 +5,7 @@
import {
api,
errorMessage,
events,
type AppSettings,
type SyncTargetInfo,
@@ -104,7 +105,7 @@ class SettingsStore {
window.open(authUrl, "_blank");
this.linkMessage = "Finish sign-in in your browser…";
} catch (e) {
this.linkMessage = `Link failed: ${e}`;
this.linkMessage = `Link failed: ${errorMessage(e)}`;
}
}