mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
[mastodon-client] Actually display early errors in the OAuth process
This commit is contained in:
parent
c7e0659cfb
commit
0dc2d5efa0
@ -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 New Issue
Block a user