MCPcopy Create free account
hub / github.com/angular/dev-infra / onRetry

Method onRetry

github-actions/saucelabs/set-saucelabs-env.js:9556–9576  ·  view source on GitHub ↗
(err2)

Source from the content-addressed store, hash-verified

9554 "invalid content-length"
9555 );
9556 this.resume = resume;
9557 this.etag = headers.etag != null ? headers.etag : null;
9558 if (this.etag != null && this.etag.startsWith("W/")) {
9559 this.etag = null;
9560 }
9561 return this.handler.onHeaders(
9562 statusCode,
9563 rawHeaders,
9564 resume,
9565 statusMessage
9566 );
9567 }
9568 const err = new RequestRetryError("Request failed", statusCode, {
9569 headers,
9570 data: { count: this.retryCount }
9571 });
9572 this.abort(err);
9573 return false;
9574 }
9575 onData(chunk) {
9576 this.start += chunk.length;
9577 return this.handler.onData(chunk);
9578 }
9579 onComplete(rawTrailers) {

Callers

nothing calls this directly

Calls 5

isDisturbedFunction · 0.70
__spreadPropsFunction · 0.70
__spreadValuesFunction · 0.70
onErrorMethod · 0.45
dispatchMethod · 0.45

Tested by

no test coverage detected