MCPcopy Index your code
hub / github.com/ampproject/amphtml / maybeReportErrorOnBuildFailure

Method maybeReportErrorOnBuildFailure

src/service/resource.js:348–352  ·  view source on GitHub ↗

* @param {*} reason * @visibleForTesting

(reason)

Source from the content-addressed store, hash-verified

346 * @visibleForTesting
347 */
348 maybeReportErrorOnBuildFailure(reason) {
349 if (!isBlockedByConsent(reason)) {
350 dev().error(TAG, 'failed to build:', this.debugid, reason);
351 }
352 }
353
354 /**
355 * Instructs the element to change its size and transitions to the state

Callers 1

buildMethod · 0.95

Calls 3

isBlockedByConsentFunction · 0.90
devFunction · 0.90
errorMethod · 0.45

Tested by

no test coverage detected