Commit 73c3128
fix: Catch all exceptions from _run_lean to prevent UnboundLocalError (#4)
If _run_lean raises something other than TimeoutExpired (e.g.
UnicodeDecodeError from non-UTF-8 lean output), the result variable
was unbound, crashing at cache.put() and return. Now catches all
exceptions with an INCONCLUSIVE result.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e861fa8 commit 73c3128
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
127 | 139 | | |
128 | 140 | | |
129 | 141 | | |
| |||
0 commit comments