From 35d920569cb163c01b5563e80235c1e62646a3c1 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Tue, 23 Jun 2020 15:26:24 +0100 Subject: [PATCH] Tweak error message As we have `set -e`, the error message would never be printed if we genuinely failed to create the virtualenv, just if we succeeded and the expected directories didn't exist. --- CI/before_script.msvc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh index 2fb2c5944..a9f6bd81f 100644 --- a/CI/before_script.msvc.sh +++ b/CI/before_script.msvc.sh @@ -752,8 +752,8 @@ fi elif [ -d 'aqt-venv/Scripts' ]; then VENV_BIN_DIR='Scripts' else - echo "Error: Failed to create virtualenv." - exit 1 + echo "Error: Failed to create virtualenv in expected location." + wrappedExit 1 fi if ! [ -e "aqt-venv/${VENV_BIN_DIR}/aqt" ]; then