forked from phoenix/litellm-mirror
(fix) proxy print exception when reading config
This commit is contained in:
parent
5da6fb84fa
commit
29eac53d76
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