client: add space between endpoint and code in error message

This commit is contained in:
Johann150 2023-01-05 20:55:03 +01:00
parent 35e9d7f958
commit 4bb814adfc
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -103,7 +103,7 @@ export const apiWithDialog = ((
promiseDialog(promise, null, (err) => {
alert({
type: 'error',
text: (err.message + '\n' + (err?.endpoint ?? '') + (err?.code ?? '')).trim(),
text: (err.message + '\n' + (err?.endpoint ?? '') + ' ' + (err?.code ?? '')).trim(),
});
});