diff --git a/README.md b/README.md index 7e7df89..a3b575b 100644 --- a/README.md +++ b/README.md @@ -321,14 +321,14 @@ fetch('http://one-more.site.com', { #### `> opts.onRetry` -A function called whenever a retry is attempted. +A function called with the response or error which caused the retry whenever one is attempted. ##### Example ```javascript fetch('https://flaky.site.com', { - onRetry() { - console.log('we will retry!') + onRetry(cause) { + console.log('we will retry because of', cause) } }) ```