Commit 11d2169
committed
Avoid infinite error handling recursion in runguard.
Previously, there were two scenarios that are problematic:
- while handling an error, we start writing the meta file, and if that
also fails, we treat this as handling a new error and never stop;
- while writing the meta file, we encounter an error which in turn tries
writing to the meta file causing another error and we never stop.1 parent 42e4165 commit 11d2169
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
| |||
305 | 311 | | |
306 | 312 | | |
307 | 313 | | |
| 314 | + | |
308 | 315 | | |
309 | 316 | | |
310 | 317 | | |
| 318 | + | |
311 | 319 | | |
312 | 320 | | |
313 | 321 | | |
| 322 | + | |
314 | 323 | | |
315 | 324 | | |
316 | 325 | | |
| |||
0 commit comments