Commit 3973e84
fix: pass exception instance instead of type in faulted trigger error handler
The __exit__ method was passing exc_type (the class) to
from_resume_trigger_error() instead of exc_val (the instance),
causing an AttributeError when accessing .message on the class.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9983daf commit 3973e84
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments