We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6fee069 + a1d835e commit 334b2eeCopy full SHA for 334b2ee
prow/setup/sail-operator-setup.sh
@@ -32,6 +32,8 @@ set -u
32
set -x
33
# fail if any command in the pipeline fails
34
set -o pipefail
35
+# Show logs on error
36
+trap 'echo "❌ Script failed. Dumping log:"; echo "--------------------------------"; cat "$LOG_FILE"; echo "--------------------------------"; exit 1' ERR
37
38
SKIP_CLEANUP="${SKIP_CLEANUP:-"false"}"
39
0 commit comments