diff --git a/docs/docs/exceptions.md b/docs/docs/exceptions.md index f0d217d..2c855d4 100644 --- a/docs/docs/exceptions.md +++ b/docs/docs/exceptions.md @@ -42,12 +42,11 @@ def my_handler(job, exc_type, exc_value, traceback): You might also see the three exception arguments encoded as: -{% highlight python %} +```python def my_handler(job, *exc_info): # do custom things here ... -{% endhighlight %} - +``` ## Chaining exception handlers