diff --git a/sat/core/sat_main.py b/sat/core/sat_main.py index 19d12663..9d2564fa 100644 --- a/sat/core/sat_main.py +++ b/sat/core/sat_main.py @@ -432,10 +432,8 @@ class SAT(service.Service): try: self.plugins[import_name] = getattr(mod, plugin_info["main"])(self) except Exception as e: - log.warning( - 'Error while loading plugin "{name}", ignoring it: {error}'.format( - name=plugin_info["name"], error=e - ) + log.exception( + f"Can't load plugin \"{plugin_info['name']}\", ignoring it: {e}" ) if optional: return