Skip to content

Commit

Permalink
print errors
Browse files Browse the repository at this point in the history
  • Loading branch information
isahers1 committed Sep 17, 2024
1 parent 5576dc5 commit cda76d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/_scripts/execute_notebooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cda76d6

Please sign in to comment.