[GH-ISSUE #164] [BUG] Proccessor. markAsDone handle err with logger #49

Closed
opened 2026-03-02 05:18:14 +03:00 by kerem · 0 comments
Owner

Originally created by @zhaolion on GitHub (Jun 10, 2020).
Original GitHub issue: https://github.com/hibiken/asynq/issues/164

Originally assigned to: @hibiken on GitHub.

Describe the bug
Could not get the detail err in https://github.com/hibiken/asynq/blob/master/processor.go#L254.
Only log err in std:

asynq: pid=8419 2020/06/10 11:18:00.494785 WARN: Could not remove task id=brgc2pquof2i2r2uml3g type="test1" from "asynq:in_progress"; Will retry syncing

Expected behavior
if err happend, logger.Errorf("Could not remove task id=%s err: %+v", task.ID, err)

Environment (please complete the following information):

  • OS: MacOS
  • asynq 0.9.2
Originally created by @zhaolion on GitHub (Jun 10, 2020). Original GitHub issue: https://github.com/hibiken/asynq/issues/164 Originally assigned to: @hibiken on GitHub. **Describe the bug** Could not get the detail err in https://github.com/hibiken/asynq/blob/master/processor.go#L254. Only log err in std: ``` asynq: pid=8419 2020/06/10 11:18:00.494785 WARN: Could not remove task id=brgc2pquof2i2r2uml3g type="test1" from "asynq:in_progress"; Will retry syncing ``` **Expected behavior** if err happend, `logger.Errorf("Could not remove task id=%s err: %+v", task.ID, err)` **Environment (please complete the following information):** - OS: MacOS - asynq 0.9.2
kerem 2026-03-02 05:18:14 +03:00
  • closed this issue
  • added the
    bug
    label
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#49
No description provided.