Skip to content

Commit

Permalink
Fix readme typo (#278)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
kimroen and sindresorhus committed Aug 13, 2020
1 parent 9076dbc commit 59dbd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -74,7 +74,7 @@ With plain `fetch`, it would be:
});

if (!response.ok) {
throw new HTTPError('Fetch error:', response.statusText);
throw new HTTPError(`Fetch error: ${response.statusText}`);
}

const parsed = await response.json();
Expand Down

0 comments on commit 59dbd1d

Please sign in to comment.