Skip to content

Commit 46fe801

Browse files
fix error formatting
1 parent 2198540 commit 46fe801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/server-bench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_server(path_server: str, path_log: Optional[str]) -> dict:
6969
sleep(1.0)
7070
exit_code = process.poll()
7171
if exit_code is not None:
72-
raise RuntimeError(f"llama.cpp server exited unexpectedly with exit code {exit_code}, see {path_log}")
72+
raise RuntimeError(f"llama.cpp server exited unexpectedly with exit code {exit_code}, see {path_log.format(port=port)}")
7373
response = requests.get(f"{address}/health")
7474
if response.status_code == 200:
7575
break

0 commit comments

Comments
 (0)