Commit 029dfc0e authored by Philipp Hörist's avatar Philipp Hörist

PluginManager: Show error correctly when plugin removal fails

Fixes #10208
parent 60b40e99
......@@ -746,7 +746,7 @@ class PluginManager(metaclass=Singleton):
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment