Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/db/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,11 @@ function resolveCustomDbPath(customPath: string): string {
}
return path.join(resolved, '.codegraph', 'graph.db');
}
} catch {
} catch (e) {
// Path doesn't exist yet — return as-is (e.g. a future custom DB path).
debug(
`findDbPath: statSync failed for ${resolved}, treating as non-existent: ${toErrorMessage(e)}`,
);
}
return resolved;
}
Expand Down
Loading