Skip to content

Commit

Permalink
Merge pull request #3935 from camptocamp/300-400
Browse files Browse the repository at this point in the history
Http codes 3xx are not an error
  • Loading branch information
sbrunner authored Jun 4, 2018
2 parents 43912ec + 057e0d1 commit e9644df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildtools/check-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e9644df

Please sign in to comment.