Skip to content

Commit

Permalink
Update HueClient.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaauw committed Dec 30, 2021
1 parent 32c5563 commit 1829a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/HueClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ class HueClient extends homebridgeLib.HttpClient {
} catch (error) {
if (
error.code === 'ECONNRESET' ||
error.statusCode === 503 // ||
// error.type === 901
error.statusCode === 503 ||
error.type === 901
) {
if (error.request != null && this._options.waitTimeResend > 0 && retry < 5) {
error.message += ' - retry in ' + this._options.waitTimeResend + 'ms'
Expand Down

0 comments on commit 1829a22

Please sign in to comment.