diff --git a/src/actions/actions.js b/src/actions/actions.js index 064de21cf..57b7ee56c 100644 --- a/src/actions/actions.js +++ b/src/actions/actions.js @@ -396,7 +396,7 @@ let NotificationAction; try { NotificationAction = Java.type('org.openhab.io.openhabcloud.NotificationAction'); } catch (error) { - if (error.name !== 'TypeError') throw new Error(error); + if (error.name !== 'TypeError') throw error; } module.exports = Object.assign(dynamicExports, {