tsvesync 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -373,6 +373,7 @@ class VeSync {
373
373
  }
374
374
  else {
375
375
  logger_1.logger.error('No devices found in response');
376
+ logger_1.logger.error(response.code, response.msg);
376
377
  }
377
378
  }
378
379
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsvesync",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "A TypeScript library for interacting with VeSync smart home devices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/lib/vesync.ts CHANGED
@@ -456,6 +456,7 @@ export class VeSync {
456
456
  logger.debug('\n=== End of Device Discovery ===\n');
457
457
  } else {
458
458
  logger.error('No devices found in response');
459
+ logger.error(response.code, response.msg);
459
460
  }
460
461
  } catch (error) {
461
462
  logger.error('Unable to get device list:', error);