From 0dc2d5efa085f7eb9831727f840987edcc632da4 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 14 Oct 2023 14:45:23 +0200 Subject: [PATCH] [mastodon-client] Actually display early errors in the OAuth process --- packages/client/src/pages/oauth.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/src/pages/oauth.vue b/packages/client/src/pages/oauth.vue index 18c1ddd48..d33151b87 100644 --- a/packages/client/src/pages/oauth.vue +++ b/packages/client/src/pages/oauth.vue @@ -99,6 +99,9 @@ if ($i) { client_id: props.client_id, }).then(res => { name = res.name; + }).catch(reason => { + message = reason; + state = 'error'; }); }