Skip to content

Commit

Permalink
log catched error
Browse files Browse the repository at this point in the history
  • Loading branch information
boergegrunicke committed Nov 3, 2024
1 parent 4d7312e commit 26bd305
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ class GoveeLocal extends utils.Adapter {
socket.close();
this.setState('info.connection', { val: false, ack: true });
callback();
} catch (e) {
} catch (e: any) {
this.log.error(e.message);
callback();
}
}
Expand Down

0 comments on commit 26bd305

Please sign in to comment.