diff --git a/deploy_app.sh b/deploy_app.sh
index d1d1e017e9dd12fbf32d5fe2bde6294da6c7ddeb..e732b28d120178c1bb99a146e6550d24bbb1f986 100755
--- a/deploy_app.sh
+++ b/deploy_app.sh
@@ -135,7 +135,12 @@ setprofile $1
 # ----------------------------------------------------------------------
 header "Download ${IMLCI_PROJECT}.tgz"
 isupdate=0
-${selfdir}/bin/getfile.sh -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp} || exit 1
+${selfdir}/bin/getfile.sh -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp}
+if [ $? -ne 0 ]; then
+	echo Repeating request with debug param -d to get the error...
+	${selfdir}/bin/getfile.sh -d -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp}
+	exit 1
+fi
 
 
 # ----------------------------------------------------------------------