Skip to content

QueueDoesNotExist: The specified queue does not exist. #58

@sentry

Description

@sentry

Sentry Issue: QDONE-F

When used with idle-queues --delete, we often see temporary failure to resolve queues in _cheapIdleCheck(). These should be able to be safely ignored, as they will disappear at the next listening round. Catch this error instead of throwing.

QueueDoesNotExist: The specified queue does not exist.
  File "/usr/lib/node_modules/qdone/node_modules/@aws-sdk/client-sqs/dist-cjs/protocols/Aws_json1_0.js", line 1537, in de_QueueDoesNotExistRes
    const exception = new models_0_1.QueueDoesNotExist({
  File "/usr/lib/node_modules/qdone/node_modules/@aws-sdk/client-sqs/dist-cjs/protocols/Aws_json1_0.js", line 607, in de_GetQueueAttributesCommandError
    throw await de_QueueDoesNotExistRes(parsedOutput, context);
  File "node:internal/process/task_queues", line 96, in processTicksAndRejections
  File "/usr/lib/node_modules/qdone/node_modules/@smithy/middleware-serde/dist-cjs/index.js", line 35, in <anonymous>
    const parsed = await deserializer(response, options);
  File "/usr/lib/node_modules/qdone/node_modules/@smithy/core/dist-cjs/index.js", line 165, in <anonymous>
    const output = await next({
...
(5 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions