forked from FoundKeyGang/FoundKey
client: unify different error dialogs
Changelog: Fixed
This commit is contained in:
parent
946e862ecd
commit
d1e0d79c19
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ export function promiseDialog<T extends Promise<any>>(
|
|||
} else {
|
||||
alert({
|
||||
type: 'error',
|
||||
text: err,
|
||||
text: (err.message + '\n' + (err?.endpoint ?? '') + (err?.code ?? '')).trim(),
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue