mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-24 01:12:37 +08:00
Change deploy environment read failure log from warning to error
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled
Amp-Thread-ID: https://ampcode.com/threads/T-019db205-95da-7654-ace4-40f12a5f6e69 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
parent
a8586f172d
commit
f350a175c3
@ -27,7 +27,7 @@ def get_deploy_environment() -> str:
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warning("Failed to read %s: %s", env_file, e)
|
logger.error("Failed to read %s: %s", env_file, e)
|
||||||
|
|
||||||
_cached_value = _DEFAULT_DEPLOY_ENV
|
_cached_value = _DEFAULT_DEPLOY_ENV
|
||||||
return _cached_value
|
return _cached_value
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user