Ver código fonte

ensure error message with missing config is printed

Blake Blackshear 4 anos atrás
pai
commit
11016b8486
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      frigate/app.py

+ 1 - 1
frigate/app.py

@@ -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()