Message ID | 20230310204519.706973-4-Martin.Jansa@gmail.com |
---|---|
State | New |
Headers | show |
Series | [2.2,1/4] utils: Allow to_boolean to support int values | expand |
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py index 25eea827d..b4bfba335 100644 --- a/lib/bb/cookerdata.py +++ b/lib/bb/cookerdata.py @@ -294,14 +294,9 @@ class CookerDataBuilder(object): bb.event.fire(bb.event.MultiConfigParsed(self.mcdata), self.data) self.data_hash = data_hash.hexdigest() - except (SyntaxError, bb.BBHandledException): - raise bb.BBHandledException() except bb.data_smart.ExpansionError as e: logger.error(str(e)) raise bb.BBHandledException() - except Exception: - logger.exception("Error parsing configuration files") - raise bb.BBHandledException() # Handle obsolete variable names