Skip to content

Brocker kick exception is not specific #442

Open

Description

@luis8

I'm currently trying to understand what's going on when i hit an error in an aws lambda.
However it only shows "SendTaskError: Cannot send task to the queue"

https://github.com/taskiq-python/taskiq/blob/master/taskiq/kicker.py#L163

We need to add more details to it in order to understand what went wrong

Activity

  1. s3rius commented on Apr 10, 2025

    @s3rius
    Member

    First question is do you call broker.startup?

    The second is can you tell me where the message is printed? There should be at least a module name in log lines. I'll add more verbosity in that place.

  2. luis8 commented on Apr 24, 2025

    @luis8
    Author

    @s3rius thank you for taking the time to look at the issue. The problem was the startup. If you have the time adding a hint or detecting if it was not called would help a lot for this cases

  3. s3rius commented on Apr 24, 2025

    @s3rius
    Member

    Yes, it might be helpful. Okay, I'll see what we can do with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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