Skip to content
Snippets Groups Projects
Commit 029dfc0e authored by Philipp Hörist's avatar Philipp Hörist
Browse files

PluginManager: Show error correctly when plugin removal fails

Fixes #10208
parent 60b40e99
No related branches found
No related tags found
No related merge requests found
......@@ -746,7 +746,7 @@ def on_error(func, path, error):
os.unlink(path)
return
# access is denied or other
raise PluginsystemError(error[1][1])
raise PluginsystemError(str(error[1]))
rmtree(plugin_path, False, on_error)
......
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