Skip to content

Commit

Permalink
add some debugging steps
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchristianschroeter committed Nov 6, 2024
1 parent cfed5c5 commit 4910eac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,9 @@ jobs:
- name: Check Mgob container logs for startup errors
run: |
errors=$(docker logs mgob 2>&1 | grep -i "error")
if [ -n "$errors" ]; then
if docker logs mgob 2>&1 | grep -iq "error"; then
echo "Error found in Mgob startup logs!"
echo "$errors"
docker logs mgob
exit 1
fi
echo "No errors in Mgob startup logs."
Expand Down

0 comments on commit 4910eac

Please sign in to comment.