show dialog on error

pull/5370/head
Aniket-Engg 2 years ago committed by yann300
parent 2b1602de0f
commit 8afd31a42b
  1. 1
      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)
}
}

Loading…
Cancel
Save