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

Improved log error for plugin persist

parent d3a7ecce
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,8 @@ class Handler(BasePlugin):
with open(self.main.config.plugins_store_path, 'w') as f:
pickle.dump([p for p in self.plugins], f)
except EnvironmentError as exc:
logger.error('Cannot save loaded plugins: %s (%s)',
logger.error('Cannot save loaded plugins in \'%s\': %s (%s)',
self.main.config.plugins_store_path,
exc.errno, exc.strerror)
else:
logger.debug('Plugins state saved')
......
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