Brocker kick exception is not specific
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
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.
@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
Yes, it might be helpful. Okay, I'll see what we can do with it.