Commit 2650122
OpenClaw Assistant
fix(memory-core): use Promise.allSettled in searchMemoryCorpusSupplements to prevent single supplement failure from discarding all results
Promise.all fails fast — if one corpus supplement (e.g. memory-wiki)
throws, all supplement results are lost, including from healthy
supplements. Switch to Promise.allSettled so surviving results
are still returned when individual supplements fail.1 parent 1d6de8d commit 2650122
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- extensions/memory-core/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
| 166 | + | |
| 167 | + | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments