client: unify different error dialogs

Changelog: Fixed
This commit is contained in:
Johann150 2022-12-04 14:27:53 +01:00
parent 946e862ecd
commit d1e0d79c19
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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(),
});
}
});