diff --git a/buildtools/check-example.js b/buildtools/check-example.js index d8063961a3b9..ef2d75d2bb6b 100644 --- a/buildtools/check-example.js +++ b/buildtools/check-example.js @@ -42,7 +42,7 @@ page.onResourceError = function(resourceError) { console.warn('Ignoring resource error from Google'); } else if (resourceError.url.includes('https://csi.gstatic.com/')) { console.warn('Ignoring resource error from Google static'); - } else if (resourceError.errorCode >= 300) { + } else if (resourceError.errorCode >= 400) { console.log('Resource error: ' + resourceError.errorCode + ', ' + resourceError.url); exitCode = 2; }