mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-31 00:18:55 +01:00
ensure error message with missing config is printed
This commit is contained in:
parent
8615f14407
commit
11016b8486
@ -202,7 +202,7 @@ class FrigateApp():
|
|||||||
try:
|
try:
|
||||||
self.init_config()
|
self.init_config()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error parsing config: {e}")
|
print(f"Error parsing config: {e}")
|
||||||
self.log_process.terminate()
|
self.log_process.terminate()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
self.set_environment_vars()
|
self.set_environment_vars()
|
||||||
|
Loading…
Reference in New Issue
Block a user