diff --git a/bin/steps/django b/bin/steps/django index 74cce91e5c61d15ee96982511f06d521a6a4e900..f665b0808dc880a9b3364a1e1799ef9efe615448 100755 --- a/bin/steps/django +++ b/bin/steps/django @@ -49,11 +49,13 @@ EOF # Compile assets. +set +e echo "-----> Collecting static files" -python $PROJECT/manage.py collectstatic --noinput | indent +OUT=$(python $PROJECT/manage.py collectstatic --noinput ) + [ $? -ne 0 ] && { echo " ! Error running manage.py collectstatic. See http://devcenter.heroku.com/articles/django-assets for more info." + echo "$OUT" | indent } - set -e