Skip to content

Commit ea9f7e5

Browse files
committed
Fix README for .exception_class
1 parent e6d26ca commit ea9f7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ assert result.status == ResultStatus.SUCCEEDED
204204
If a task raised an exception, its `.exception_class` will be the exception class raised:
205205

206206
```python
207-
assert result.exception == ValueError
207+
assert result.exception_class == ValueError
208208
```
209209

210210
Note that this is just the type of exception, and contains no other values. The traceback information is reduced to a string that you can print to help debugging:

0 commit comments

Comments
 (0)