Skip to content

Commit 075ab47

Browse files
authored
FEATURE-RELEASE: fix failing test (#23)
* fix failing test * add url back into fetch error
1 parent b10b7cd commit 075ab47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ module.exports = async function (url, options) {
173173

174174
if (!retry(retryOptions, error, null)) {
175175
if (error.name === 'AbortError') {
176-
return reject(new FetchError('Network timeout', 'request-timeout'));
176+
return reject(new FetchError(`network timeout at ${url}`, 'request-timeout'));
177177
}
178178

179179
return reject(error);

0 commit comments

Comments
 (0)