Skip to content

Commit 727da3d

Browse files
authored
Add logging around db config loading (#1875)
1 parent 468c4a2 commit 727da3d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

extensions/ql-vscode/src/databases/config/db-config-store.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,14 @@ export class DbConfigStore extends DisposableObject {
130130

131131
private async loadConfig(): Promise<void> {
132132
if (!(await pathExists(this.configPath))) {
133+
void this.app.logger.log(
134+
`Creating new database config file at ${this.configPath}`,
135+
);
133136
await this.writeConfig(this.createEmptyConfig());
134137
}
135138

136139
await this.readConfig();
140+
void this.app.logger.log(`Database config loaded from ${this.configPath}`);
137141
}
138142

139143
private async readConfig(): Promise<void> {

0 commit comments

Comments
 (0)