Commit d4b2036
refactor(core): Consolidate scope-persistence error handling (JAVA-608)
Extract the duplicated try/catch in PersistingScopeObserver.serializeToDisk
into a single runSafely helper used by both the on-executor and submit
paths. Pure internal cleanup; error-handling behavior is unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent aab952b commit d4b2036
1 file changed
Lines changed: 10 additions & 15 deletions
Lines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 234 | + | |
239 | 235 | | |
240 | 236 | | |
241 | 237 | | |
242 | 238 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 239 | + | |
253 | 240 | | |
254 | 241 | | |
255 | 242 | | |
256 | 243 | | |
257 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
258 | 253 | | |
259 | 254 | | |
260 | 255 | | |
| |||
0 commit comments