# HG changeset patch # User Goffi # Date 1679581450 -3600 # Node ID 7bf7677b893df2e54a6053df051d9568b82b7450 # Parent 86efd854dee16cd0e5a634abeea9974b5f0f4412 core: log a traceback if a plugin can't be loaded diff -r 86efd854dee1 -r 7bf7677b893d sat/core/sat_main.py --- a/sat/core/sat_main.py Mon Mar 20 12:01:13 2023 +0100 +++ b/sat/core/sat_main.py Thu Mar 23 15:24:10 2023 +0100 @@ -432,10 +432,8 @@ 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