Commit 36bca00
committed
Fix README error-handling example: AgentScoreError has no .message attr
The except block printed e.message, but AgentScoreError exposes its text via
str(e), not a .message attribute. Use str(e) so the example runs.1 parent b330571 commit 36bca00
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments