mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
(fix) proxy: print cwd()
This commit is contained in:
parent
1772da92c0
commit
a56d4a1e83
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: str):
|
|||
with open(config_file_path, 'r') as file:
|
||||
config = yaml.safe_load(file)
|
||||
else:
|
||||
raise Exception(f"Path to config does not exist, 'os.path.exists({config_file_path})' returned False")
|
||||
raise Exception(f"Path to config does not exist, Current working directory: {os.getcwd()}, 'os.path.exists({config_file_path})' returned False")
|
||||
except Exception as e:
|
||||
raise Exception(f"Exception while reading Config: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue