[GH-ISSUE #661] [BUG] GetQueueInfo doesn't return expected errors #328

Open
opened 2026-03-02 05:20:30 +03:00 by kerem · 0 comments
Owner

Originally created by @overstarry on GitHub (May 17, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/661

Originally assigned to: @hibiken on GitHub.

Describe the bug
GetQueueInfo doesn't return expected errors

To Reproduce
`go
info, err := inspector.GetQueueInfo(name)

fmt.Println(errors.Is(err, stdasynq.ErrQueueNotFound)) // false
`

Expected behavior
A clear and concise description of what you expected to happen.
fmt.Println(errors.Is(err, stdasynq.ErrQueueNotFound)) // true

Environment (please complete the following information):

  • OS: [e.g. MacOS, Linux] any
  • Version of asynq package [e.g. v1.0.0] v0.23.0
Originally created by @overstarry on GitHub (May 17, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/661 Originally assigned to: @hibiken on GitHub. **Describe the bug** GetQueueInfo doesn't return expected errors **To Reproduce** `go info, err := inspector.GetQueueInfo(name) fmt.Println(errors.Is(err, stdasynq.ErrQueueNotFound)) // false ` **Expected behavior** A clear and concise description of what you expected to happen. ` fmt.Println(errors.Is(err, stdasynq.ErrQueueNotFound)) // true ` **Environment (please complete the following information):** - OS: [e.g. MacOS, Linux] any - Version of `asynq` package [e.g. v1.0.0] v0.23.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#328
No description provided.