diff --git a/koboldcpp.py b/koboldcpp.py
index b62c7f478..09834fafe 100755
--- a/koboldcpp.py
+++ b/koboldcpp.py
@@ -3840,7 +3840,7 @@ Change Mode
if response_body is None:
self.send_response(404)
self.end_headers(content_type='text/html')
- rp = 'Error: KoboldCpp HTTP Server is running, but this endpoint does not exist. Please check the URL.'
+ rp = f"Error: KoboldCpp HTTP Server is running, but this endpoint does not exist. Please check the URL.
Current path: {self.path}"
self.wfile.write(rp.encode())
else:
self.send_response(200)