mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(fix) proxy print exception when reading config
This commit is contained in:
parent
7b95a57886
commit
a924853182
1 changed files with 3 additions and 1 deletions
|
@ -206,7 +206,9 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: str):
|
||||||
config = yaml.safe_load(file)
|
config = yaml.safe_load(file)
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
except:
|
except Exception as e:
|
||||||
|
print_verbose(f"Exception while reading Config: {e}")
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
print_verbose(f"Configs passed in, loaded config YAML\n{config}")
|
print_verbose(f"Configs passed in, loaded config YAML\n{config}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue