diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index 72584c974f9ddcfb44ae0472a9b57b33ff4a8292..dfc97bd892fdfb41a824c71c1992deda76455354 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -717,9 +717,9 @@ Debug:
     - composer audit --no-dev --locked --format=plain >/tmp/test.log 2>&1 || true
     - cat /tmp/test.log
     - EC=0
-    - grep "No security vulnerability advisories found" /tmp/test.log || EC=$?
+    - if [[ "$IGNORE_COMPOSER_AUDIT" == "0" ]]; then grep "No security vulnerability advisories found" /tmp/test.log || EC=$?; fi
     - if [[ $EC -ne 0 ]]; then DOUPDATE=1; fi
-    - if [[ $DOUPDATE -eq 0 ]]; then exit 0; fi
+    - if [[ $DOUPDATE -eq 0 ]]; then cat /tmp/test.log; exit 0; fi
     - git remote rm origin
     - git remote add origin git@${CI_SERVER_HOST}:$CI_PROJECT_PATH.git
     - composer update --no-interaction --no-progress --no-dev
@@ -729,6 +729,7 @@ Debug:
     - EC=0
     - if [[ "$IGNORE_COMPOSER_AUDIT" == "0" ]]; then grep "No security vulnerability advisories found" /tmp/test.log || EC=$?; fi
     - if [[ $EC -ne 0 ]]; then glab issue create --title "Security vulnerability advisories found" --description "$(cat /tmp/test.log)"; exit 1; fi
+    - cat /tmp/test.log
     - rm /tmp/test.log >/dev/null 2>&1 || true
     - git status >/tmp/test.log 2>&1
     - EC=0
@@ -774,7 +775,7 @@ Debug:
     - composer audit --no-dev --locked --format=plain >/tmp/test.log 2>&1 || true
     - EC=0
     - if [[ "$IGNORE_COMPOSER_AUDIT" == "0" ]]; then grep "No security vulnerability advisories found" /tmp/test.log || EC=$?; fi
-    - if [[ $EC -eq 0 ]]; then exit 0; fi
+    - if [[ $EC -eq 0 ]]; then cat /tmp/test.log; exit 0; fi
     - glab issue create --title "Security vulnerability advisories found" --description "$(cat /tmp/test.log)"
     - rm /tmp/test.log >/dev/null 2>&1 || true
     - exit 1