Commit d3952c3e authored by Hunter Loftis's avatar Hunter Loftis

Merge pull request #224 from heroku/failure-messaging

Failure messaging
parents aa318326 cfd4a023
## v74 (24/4/2015)
- Update build failure messaging and help
## v73 (24/4/2015) ## v73 (24/4/2015)
- Patch for caching to disable cache restoration if node_modules already exists (eg from being git submoduled or checked into git) - Patch for caching to disable cache restoration if node_modules already exists (eg from being git submoduled or checked into git)
......
...@@ -3,12 +3,14 @@ build_failed() { ...@@ -3,12 +3,14 @@ build_failed() {
head "Build failed" head "Build failed"
echo "" echo ""
info "We're sorry this build is failing!" info "We're sorry this build is failing!"
info ""
info "Are you running into a common issue?" info "Are you running into a common issue?"
info "https://devcenter.heroku.com/articles/troubleshooting-node-deploys" info "https://devcenter.heroku.com/articles/troubleshooting-node-deploys"
info "" info ""
if [ "$warn" != "" ]; then if [ "$warn" != "" ]; then
info "During the build we spotted some likely problems:" info "During the build we spotted some likely problems:"
echo $warn | indent info ""
echo "$warn" | indent
else else
info "If you're stuck, please submit a ticket so we can help:" info "If you're stuck, please submit a ticket so we can help:"
info "https://help.heroku.com/" info "https://help.heroku.com/"
......
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