Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
- Logs error message from portal when login or other error.
  • Loading branch information
mrjackyliang committed Nov 19, 2019
1 parent 2edfd7e commit 91e6ce4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,11 @@ ADTPulsePlatform.prototype.portalSync = function () {
break;
}

// Show error message when login or other error.
if (message && !["SYNC", "HOST_UNREACHABLE"].includes(action)) {
this.logMessage(message, 10);
}

this.isSyncing = false;
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-adt-pulse",
"version": "1.3.4",
"version": "1.3.5",
"description": "Homebridge security system platform for ADT Pulse",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 91e6ce4

Please sign in to comment.