Skip to content

Commit

Permalink
feat: improve error handling on ms auth
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Jun 27, 2024
1 parent 5ebbb4d commit 0e06583
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/login/loginmodal/LoginModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
options.currentAccount = accountData;
options.store();
} catch (err) {
alert(err);
alert(
"Microsoft authentication failed.\n\n" +
err + "\n\n" +
"Should you be unable to resolve this issue, please use the 'Offline' login option " +
"and attempt to log in through the client's inbuilt account manager."
);
cancelMicrosoft();
}
}
Expand Down

0 comments on commit 0e06583

Please sign in to comment.