Skip to content

Conversation

@woutdenolf
Copy link
Contributor

@woutdenolf woutdenolf commented Aug 2, 2022

Closes #371

Celery expects ExceptionInfo.exception to be an exception:

https://github.com/celery/celery/blob/feaad3f9fdf98d0453a07a68e307e48c6c3c2550/celery/app/trace.py#L239

This MR makes sure it is an exception while at the same time preserving the cause while pickling (tested with Celery 5.3.0b1).

Copy link
Contributor

@J08nY J08nY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@woutdenolf
Copy link
Contributor Author

FYI I don't have permissions to merge.

@auvipy
Copy link
Member

auvipy commented Aug 2, 2022

shit I missed it

@auvipy auvipy merged commit 7a27c7c into celery:master Aug 2, 2022
@auvipy
Copy link
Member

auvipy commented Aug 2, 2022

need to release a bug fix tomorrow

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExceptionWithTraceback object has no attribute __cause__

3 participants