Unverified Commit d0cf037e authored by Jeremy Morrell's avatar Jeremy Morrell Committed by GitHub

Add detection for module installation 404 failures (#535)

Add detection for module 404s
parent 079e52d7
......@@ -365,6 +365,11 @@ log_other_failures() {
return 0
fi
if grep -i -e "npm ERR! code E404" -e "error An unexpected error occurred: .* Request failed \"404 Not Found\"" "$log_file"; then
mcount "failures.module-404"
return 0
fi
if grep -qi "sh: 1: cd: can't cd to" "$log_file"; then
mcount "failures.cd-command-fail"
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment