mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(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)
|
||||
else:
|
||||
pass
|
||||
except:
|
||||
except Exception as e:
|
||||
print_verbose(f"Exception while reading Config: {e}")
|
||||
|
||||
pass
|
||||
|
||||
print_verbose(f"Configs passed in, loaded config YAML\n{config}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue