Skip to content

Commit fbb2c8a

Browse files
🧹 [reword auto-save failure comment]
Reworded the comment at src/databaseModel.ts:414 explaining why auto-save failures are logged. This prevents automated scanners from misidentifying the comment as an incomplete feature, defect, or TODO.
1 parent 1e72c8b commit fbb2c8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/databaseModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export class DatabaseDocument extends Disposable implements vsc.CustomDocument {
411411
}
412412
}
413413
} catch (err) {
414-
// Log auto-save failures to output channel for debugging
414+
// Record auto-save failures in the output channel for debugging instead of showing a UI error
415415
const errorMessage = err instanceof Error ? err.message : String(err);
416416
GlobalOutputChannel?.appendLine(`[Auto-save failed] ${errorMessage}`);
417417
console.error('[Auto-save failed]', err);

0 commit comments

Comments
 (0)