Commit 42406f11 authored by Anael Beutot's avatar Anael Beutot
Browse files

Log exception when plugin load fails

parent 14dc98bc
Loading
Loading
Loading
Loading
+1 −1
Changes for cloudcontrol/node/host/__init__.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ class Handler(BasePlugin):
                        try:
                            self.plugin_install(self.main.rpc.rpc_con, None, p)
                        except Exception:
                            logger.error('Error while loading plugin %s', p)
                            logger.exception('Error while loading plugin %s', p)
                        else:
                            logger.debug('Successfuly loaded plugin %s', p)