diff --git a/src/ecalc/libraries/libecalc/common/libecalc/input/validation_errors.py b/src/ecalc/libraries/libecalc/common/libecalc/input/validation_errors.py index dd18226bd6..c75483cb39 100644 --- a/src/ecalc/libraries/libecalc/common/libecalc/input/validation_errors.py +++ b/src/ecalc/libraries/libecalc/common/libecalc/input/validation_errors.py @@ -117,7 +117,7 @@ def __init__( ): errors = validation_error.errors() - component_name = data[EcalcYamlKeywords.name] + component_name = data.get(EcalcYamlKeywords.name, "Missing Component Name") messages = [] error_locs = [] try: