generate: generate: Set the logging prefix after loading the json file
Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
parent
11d6b574f3
commit
2e793fd31f
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ def main() -> None:
|
||||||
if data is None:
|
if data is None:
|
||||||
logger.log_error(f"{config_file} is invalid, aborting!")
|
logger.log_error(f"{config_file} is invalid, aborting!")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
logger.set_prefix(Path(config_file).name)
|
||||||
ct = create_container_from_config(data, logger)
|
ct = create_container_from_config(data, logger)
|
||||||
if ct is None:
|
if ct is None:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue