diff options
author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-25 01:28:08 +0200 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-25 01:28:08 +0200 |
commit | 4c75eba33bcea211a365dbe2c778a4ccae80a4ef (patch) | |
tree | 41198fdb448b0a897ff1049cee35f15c98336e4a /src/lib/Bcfg2/Server/Plugins | |
parent | f012d326aa9e4e22257e3eba4464516e3cf40eed (diff) | |
download | bcfg2-4c75eba33bcea211a365dbe2c778a4ccae80a4ef.tar.gz bcfg2-4c75eba33bcea211a365dbe2c778a4ccae80a4ef.tar.bz2 bcfg2-4c75eba33bcea211a365dbe2c778a4ccae80a4ef.zip |
Bundler: Fix printing exc_info
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Bundler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Bundler.py b/src/lib/Bcfg2/Server/Plugins/Bundler.py index bbdf62866..3e0007d8a 100644 --- a/src/lib/Bcfg2/Server/Plugins/Bundler.py +++ b/src/lib/Bcfg2/Server/Plugins/Bundler.py @@ -92,9 +92,9 @@ class Bundler(Plugin, self.logger.error("Bundler: Failed to render templated bundle " "%s: %s" % (bundlename, err)) continue - except: + except Exception as e: self.logger.error("Bundler: Unexpected bundler error for %s" % - bundlename, exc_info=1) + bundlename, exc_info=e) continue if data.get("independent", "false").lower() == "true": |