lib-task-scheduler
Advanced tools
Comparing version 1.0.42 to 1.0.47
@@ -178,6 +178,15 @@ "use strict"; | ||
yield this.findOrCreateQueue(); | ||
yield this.awsDeleteMessage({ | ||
QueueUrl: this.queueUrl, | ||
ReceiptHandle: receiptHandle, | ||
}); | ||
try { | ||
yield this.awsDeleteMessage({ | ||
QueueUrl: this.queueUrl, | ||
ReceiptHandle: receiptHandle, | ||
}); | ||
} | ||
catch (error) { | ||
if (error.statusCode === 400) { | ||
this.log.warn(`Failed to delete message (got status 400)`, error); | ||
return; | ||
} | ||
throw error; | ||
} | ||
}); | ||
@@ -184,0 +193,0 @@ } |
{ | ||
"name": "lib-task-scheduler", | ||
"version": "1.0.42", | ||
"version": "1.0.47", | ||
"description": "A lightweight, modular task scheduler.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/convoyinc/lib-task-scheduler", |
Sorry, the diff of this file is not supported yet
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
130568
1905