From 031c9d576f4fd27cca22702dff765aea58de55c7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Thu, 4 Feb 2016 23:32:45 -0500 Subject: [PATCH] cleanup output --- bin/steps/collectstatic | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/steps/collectstatic b/bin/steps/collectstatic index fea3258c..6c30c1b8 100755 --- a/bin/steps/collectstatic +++ b/bin/steps/collectstatic @@ -27,7 +27,7 @@ bpwatch start collectstatic # metrics collection if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALLED" ]; then set +e - echo "-----> Preparing static assets with 'collectstatic'." + echo "-----> Preparing static assets with 'collectstatic'" # Run collectstatic, cleanup some of the noisy output. python $MANAGE_FILE collectstatic --noinput 2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent @@ -37,6 +37,7 @@ if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALL # Display a warning if collectstatic failed. [ $COLLECTSTATIC_STATUS -ne 0 ] && { + echo echo " ! Error while runnning '$ python $MANAGE_FILE collectstatic --noinput'." echo " See traceback above for more details." echo " More info: http://devcenter.heroku.com/articles/django-assets" -- GitLab