diff --git a/src/errors.ts b/src/errors.ts index bbe6d29..201671d 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -49,6 +49,7 @@ function isConnectionError(err: Error): boolean { err.code === "UnknownEndpoint" || err.code === "AWS.SimpleQueueService.NonExistentQueue" || err.code === "CredentialsProviderError" || + err.code === "QueueDoesNotExist" || err.code === "InvalidAddress" ); }