diff --git a/public/libs/views.js b/public/libs/views.js index f5678d99..319b37c4 100644 --- a/public/libs/views.js +++ b/public/libs/views.js @@ -404,7 +404,11 @@ const addView = (browserWindow, workspace) => { // Link preview view.webContents.on('update-target-url', (e, url) => { - view.webContents.send('update-target-url', url); + try { + view.webContents.send('update-target-url', url); + } catch (err) { + console.log(err); // eslint-disable-line no-console + } }); // Handle audio & notification preferences