Fix disk config validation regression (#3355)

This commit is contained in:
codefiles 2025-04-06 22:24:17 -04:00 committed by GitHub
parent 5b06ec7c37
commit d7a5a59342
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -207,7 +207,12 @@ class ArchConfigHandler:
self._args: Arguments = self._parse_args()
config = self._parse_config()
self._config = ArchConfig.from_config(config)
try:
self._config = ArchConfig.from_config(config)
except ValueError as err:
warn(str(err))
exit(1)
@property
def config(self) -> ArchConfig: