From 8cf601eafde68e26aa81d9bc5d897decb23391d4 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Thu, 16 Mar 2023 14:05:35 +0530 Subject: [PATCH] show dialog on error --- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index f291304b2f..5b73874993 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -163,6 +163,7 @@ export function Workspace () { try { await global.dispatchHandleDownloadWorkspace() } catch (e) { + global.modal(intl.formatMessage({ id: 'filePanel.workspace.download' }), e.message, intl.formatMessage({ id: 'filePanel.ok' }), () => {}, intl.formatMessage({ id: 'filePanel.cancel' })) console.error(e) } }