Skip to content

Commit

Permalink
Added QueueDoesNotExist catch.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraserbenjamin authored Apr 12, 2024
1 parent b9554a7 commit b1fc753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
Expand Down

0 comments on commit b1fc753

Please sign in to comment.