Skip to content

Commit

Permalink
Remove error logging (duplicate)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxdc committed Apr 15, 2020
1 parent b442e0e commit 80c07ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,6 @@ BlindsHTTPAccessory.prototype.setCurrentPositionByUrl = function(callback) {

const pos = parseInt(body, 10);
if (isNaN(pos) || pos < 0 || pos > 100) {
if (this.verbose) {
this.log.error(`Invalid response/position: ${pos}`);
}
return callback(pos); // invalid response
}

Expand Down

0 comments on commit 80c07ba

Please sign in to comment.