Commit 7c16cc1
fix: preserve original error in requestSessionResult
Wrapping the caught error with new Error(e) coerced it to the string
"[object Object]" and discarded the original stack trace. Log the
failure with context and rethrow the original error instead.
Fixes #28
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent d57ecc3 commit 7c16cc1
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
0 commit comments