Comparing version 0.0.12 to 0.0.13
@@ -81,3 +81,3 @@ /** | ||
logger.log('error', 'Reached max retries'); | ||
return; | ||
return this.cb({message : 'Reached max retries'}); | ||
} | ||
@@ -192,3 +192,3 @@ logger.log('warn', 'Retrying request'); | ||
if (err.code === 'ECONNREFUSED' || err.code === 'ENOTFOUND') { | ||
if (err.code === 'ECONNREFUSED' || err.code === 'ENOTFOUND' || err.code === 'ECONNRESET') { | ||
if (self.retries < self.max_retry) { | ||
@@ -195,0 +195,0 @@ return self.retry(); |
{ | ||
"name": "cuddle", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6491