Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asgothian committed Jan 11, 2025
1 parent 5a64311 commit cb387c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ class Zigbee extends utils.Adapter {
await converter.convertGet(entity.device.endpoints[0], ckey, {});
} catch (error) {
const delta = new Date().getTime()-t;
this.log.warn(`Failed to read state (1)'${JSON.stringify(ckey)}'of '${entity.device.ieeeAddr}/${entity.device.endpoints[0].ID} ' after ${delta} ms from query with '${error && error.message ? error.message : 'no error message'}`);
this.log.warn(`Failed to read state (1)'${JSON.stringify(ckey)}'of '${entity.device.ieeeAddr}/${entity.device.endpoints[0].ID} ' after ${delta} ms from query with '${error && error.message ? error.message : 'no error message'}('${error && error.stack ? error.stack : 'no call stack'})`);
}
// t = new Date().getTime();

Check failure on line 702 in main.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Expected indentation of 40 spaces but found 0
// try {

Check failure on line 703 in main.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Expected indentation of 40 spaces but found 0
Expand Down

0 comments on commit cb387c4

Please sign in to comment.