diff --git a/lib/core/dispatchRequest.js b/lib/core/dispatchRequest.js index fe0fa3dd13..9e306aac4c 100644 --- a/lib/core/dispatchRequest.js +++ b/lib/core/dispatchRequest.js @@ -20,7 +20,7 @@ function throwIfCancellationRequested(config) { } if (config.signal && config.signal.aborted) { - throw new CanceledError(); + throw new CanceledError(null, config); } }