Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Conversation

@Raznak
Copy link

@Raznak Raznak commented Jan 25, 2018

Hi,

I can't disable a task after creating it. Celery still is still executing it after.
So I wrote a small bug fix but it is not very pretty.

self._task.save(save_condition={})
except Exception:
get_logger(__name__).error(traceback.format_exc())
except mongoengine.errors.NotUniqueError:

Choose a reason for hiding this comment

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

this exception already catch by previous "except Exception"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants