ensure error message with missing config is printed

This commit is contained in:
Blake Blackshear 2021-01-19 18:00:26 -06:00
parent 52da1fddc7
commit cb4a0aa594

View File

@ -202,7 +202,7 @@ class FrigateApp():
try:
self.init_config()
except Exception as e:
logger.error(f"Error parsing config: {e}")
print(f"Error parsing config: {e}")
self.log_process.terminate()
sys.exit(1)
self.set_environment_vars()