Commit 16ab2b7
committed
Add debug logs when writing to persistent storage (#18288)
Adds traceVerbose logging calls at the two write paths in
persistentState.ts:
- PersistentState.updateValue() - the core write path used by
both global and workspace persistent state
- updateWorkspaceStateValue() - a separate direct write path
This makes it easier to diagnose issues related to persistent
storage writes, as requested in the issue.
Verified: eslint and prettier pass cleanly on the changed file,
tsc compiles with no errors, and pre-existing test failures in
testing/utils.unit.test.js were confirmed unrelated (same
failures occur with this change stashed out).1 parent db91e3d commit 16ab2b7
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments