Skip to content

Commit b8bf5b8

Browse files
authored
CodeQL MCP: include absolute path in error
1 parent 131a42c commit b8bf5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp_servers/codeql/mcp_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _resolve_db_path(relative_db_path: str | Path):
6464
absolute_path = CODEQL_DBS_BASE_PATH / relative_db_path
6565
if not absolute_path.is_dir():
6666
_debug_log(f"Database path not found: {absolute_path}")
67-
raise RuntimeError('Error: Database not found!')
67+
raise RuntimeError(f"Error: Database not found at {absolute_path}!")
6868
return absolute_path
6969

7070

0 commit comments

Comments
 (0)