Skip to content
Snippets Groups Projects
Commit b72d9724 authored by Anael Beutot's avatar Anael Beutot
Browse files

Fix tag conflict when install plugin

parent 057dd471
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,8 @@ class Plugin(object):
err_msg = 'Error during plugin installation (%s): %s' % (
self.name, exc)
logger.exception(err_msg)
# make sure all tags are stopped
self.tag_db.set_parent(None)
raise RuntimeError(err_msg)
else:
# prevents module from being garbage collected
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment