diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts index 0aa823d059..0636bfd3e2 100644 --- a/packages/client/src/os.ts +++ b/packages/client/src/os.ts @@ -277,6 +277,9 @@ export function alert(props: { text?: string | null; }): Promise { return new Promise((resolve, reject) => { + if (props.text == null && props.type === "error") { + props.text = "An unknown error occured!" + } popup( MkDialog, props,