moonraker: always log configuration exceptions

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2022-04-06 08:26:32 -04:00
1 parent bf19bcecae
commit 77027d252e
1 file changed
+1 -1
+1 -1
View File
@@ -448,8 +448,8 @@ def main(cmd_line_args: argparse.Namespace) -> None:
server.load_components()
except confighelper.ConfigError as e:
backup_cfg = confighelper.find_config_backup(cfg_file)
logging.exception("Server Config Error")
if alt_config_loaded or backup_cfg is None:
logging.exception("Server Config Error")
estatus = 1
break
app_args['config_file'] = backup_cfg