From cda76d65ad6ed0abebcc4812b57222b23baf2aad Mon Sep 17 00:00:00 2001 From: isaac hershenson Date: Tue, 17 Sep 2024 16:22:26 -0700 Subject: [PATCH] print errors --- docs/_scripts/execute_notebooks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_scripts/execute_notebooks.sh b/docs/_scripts/execute_notebooks.sh index 2206102e3..9d9bb516c 100755 --- a/docs/_scripts/execute_notebooks.sh +++ b/docs/_scripts/execute_notebooks.sh @@ -5,6 +5,7 @@ do echo "Executing $file" if ! output=$(poetry run jupyter execute "$file" 2>&1); then errors+=("$file: $output") # Add a tuple of the file and error message to the errors list + printf '%s\n' "${errors[@]}" exit 1 fi done