mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 01:26:23 +00:00
feat: better auth error handling (#5403)
* add log
* add log
* Revert "add log"
This reverts commit 2412a3de5f.
* add new minecraft auth error modal
* add other auth errors
* polish the styles
* update link text
* add unknown error state
* pnpm prepr
* fix link
* fix lint
This commit is contained in:
@@ -33,6 +33,7 @@ const metadata = ref({})
|
||||
|
||||
defineExpose({
|
||||
async show(errorVal, context, canClose = true, source = null) {
|
||||
console.log(errorVal, context, canClose, source)
|
||||
closable.value = canClose
|
||||
|
||||
if (errorVal.message && errorVal.message.includes('Minecraft authentication error:')) {
|
||||
|
||||
Reference in New Issue
Block a user