mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
config.state: try_load_file(): clear state.exception after successful load
This commit is contained in:
parent
5951c8c296
commit
3eeeafb30f
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ class ConfigStateHolder:
|
|||
self._profile_cache = None
|
||||
try:
|
||||
self.file = Config.fromDict(parse_file(config_file=config_file, base=base), validate=True)
|
||||
self.file_state.exception = None
|
||||
except Exception as ex:
|
||||
self.file_state.exception = ex
|
||||
self.file_state.load_finished = True
|
||||
|
|
Loading…
Add table
Reference in a new issue