show dialog on error

pull/3504/head
Aniket-Engg 2 years ago committed by yann300
parent 89a9942c63
commit 8cf601eafd
  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