diff --git a/packages/nc-gui/components/nc/ErrorBoundary.vue b/packages/nc-gui/components/nc/ErrorBoundary.vue index 98474d193e..83da1797ed 100644 --- a/packages/nc-gui/components/nc/ErrorBoundary.vue +++ b/packages/nc-gui/components/nc/ErrorBoundary.vue @@ -29,7 +29,7 @@ export default { const copyError = async () => { try { - if (error.value) await copy(`message: ${error.value?.message}\n\n${error.value?.stack}`) + if (error.value) await copy(`message: ${error.value.message}\n\n${error.value.stack}`) message.info('Error message copied to clipboard.') } catch (e) { message.error('Something went wrong while copying to clipboard, please copy from browser console.') @@ -95,9 +95,9 @@ export default { >