Skip to content

Commit

Permalink
Fix README for .exception_class (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkins authored Dec 19, 2024
1 parent e6d26ca commit dd1eb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ assert result.status == ResultStatus.SUCCEEDED
If a task raised an exception, its `.exception_class` will be the exception class raised:

```python
assert result.exception == ValueError
assert result.exception_class == ValueError
```

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:
Expand Down

0 comments on commit dd1eb52

Please sign in to comment.