Skip to content

Commit

Permalink
Add logging to Bacnet driver on error (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGodbehere authored Nov 6, 2024
2 parents 9913c89 + d737de0 commit 69050cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edge-bacnet/lib/bacnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class BacnetHandler {
instance: addr.instance,
}, addr.propertyId, (err, value) => {
if (err) {
this.log('Error reading property %o: %o', addr, err)
resolve(undefined)
}
else {
Expand Down

0 comments on commit 69050cf

Please sign in to comment.