retry-machine
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -20,6 +20,7 @@ 'use strict'; | ||
try { | ||
logger.info('Retry Machine: ', ...args); | ||
logger.info('Retry Machine args: ', ...args); | ||
result = await promise(...args); | ||
break; | ||
} catch (e) { | ||
logger.error('Retry Machine error: ', e); | ||
attempts -= 1; | ||
@@ -26,0 +27,0 @@ await failure(e, attempts); |
{ | ||
"name": "retry-machine", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Retry Promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
3387
35