Commit 351e80d
Swallow errors in LogStore write chain
A single failed KvStore.set() could poison the promise chain,
causing all subsequent writes and flush() to reject. It could
also trigger an unhandled rejection since the synchronous Sink
never awaits the result. Catch and discard errors so logging
remains best-effort.
#564 (comment)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 60fe35c commit 351e80d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| |||
0 commit comments