Skip to content

Commit

Permalink
catch error
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalusan committed Sep 11, 2024
1 parent 93bf0d4 commit 5adc221
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@george.talusan/homebridge-eufy-robovac",
"displayName": "Homebridge Plugin for Eufy Robovac",
"type": "module",
"version": "0.0.7",
"version": "0.0.8",
"description": "Homebridge Plugin for Eufy Robovac",
"author": "George Talusan <[email protected]>",
"license": "ISC",
Expand Down
3 changes: 3 additions & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export class EufyRobovacHomebridgePlatform implements DynamicPlatformPlugin {
}
}, 2000);
});
this.robovac.on('error', (error: string) => {
this.log.info(error);
});
await this.robovac.initialize();
} catch (error: unknown) {
this.log.error(error as string);
Expand Down

0 comments on commit 5adc221

Please sign in to comment.