mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
[mastodon-client] Actually display early errors in the OAuth process
This commit is contained in:
parent
c7e0659cfb
commit
0dc2d5efa0
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ if ($i) {
|
||||||
client_id: props.client_id,
|
client_id: props.client_id,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
name = res.name;
|
name = res.name;
|
||||||
|
}).catch(reason => {
|
||||||
|
message = reason;
|
||||||
|
state = 'error';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue