From 6fc9ce3f4fe153de17e29a216aab9b1de591e7bb Mon Sep 17 00:00:00 2001 From: ClaireSimmonds <1903158+ClaireSimmonds@users.noreply.github.com> Date: Mon, 10 Sep 2018 17:03:07 -0500 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d00df24..11ecbb6 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ def demo_task(x): z = x + y if len(z) < 5: - raise NotEnoughItemsError + raise NotEnoughItemsError('too few items') ``` This configuration option may be useful to avoid retrying in cases when doing so would have no effect, such as an error explicitly raised in code or if the error is unrecoverable.