diff --git a/bin/steps/pip-install b/bin/steps/pip-install
index 6ac369eac889e02448da53fa7d97355dc19a4b98..6ef55b4daba33ffc396eda0f516c053f71f55b38 100755
--- a/bin/steps/pip-install
+++ b/bin/steps/pip-install
@@ -6,8 +6,8 @@ puts-step "Installing dependencies with pip"
 
 set +e
 /app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --allow-all-external --disable-pip-version-check --no-cache-dir | cleanup | log-output | indent
-set -e
 PIP_STATUS="$?"
+set -e
 
 echo "$PIP_STATUS"