forked from phoenix/litellm-mirror
(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:
|
with open(config_file_path, 'r') as file:
|
||||||
config = yaml.safe_load(file)
|
config = yaml.safe_load(file)
|
||||||
else:
|
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:
|
except Exception as e:
|
||||||
raise Exception(f"Exception while reading Config: {e}")
|
raise Exception(f"Exception while reading Config: {e}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue