diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts index 1f700e93d..0a7aa23fb 100644 --- a/packages/client/src/os.ts +++ b/packages/client/src/os.ts @@ -103,7 +103,7 @@ export const apiWithDialog = (( promiseDialog(promise, null, (err) => { alert({ type: 'error', - text: err.message + '\n' + (err as any).id, + text: (err.message + '\n' + (err?.endpoint ?? '') + (err?.code ?? '')).trim(), }); }); @@ -141,7 +141,7 @@ export function promiseDialog>( } }); - // NOTE: dynamic importすると挙動がおかしくなる(showingの変更が伝播しない) + // NOTE: dynamic import results in strange behaviour (showing is not reactive) popup(MkWaitingDialog, { success, showing,