Skip to content

Commit

Permalink
[actions] Minor code improvement
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Jul 24, 2024
1 parent e9d699a commit 5d37e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 5d37e80

Please sign in to comment.