Skip to content

Commit

Permalink
Add crash log for any error
Browse files Browse the repository at this point in the history
  • Loading branch information
lemaitre-aneo committed Apr 17, 2024
1 parent 06590d5 commit 06a49f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Worker/src/DLLWorker/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ wait $!
ret="$?"

# Add log that process has crashed
if [ "$ret" = 139 ]; then
echo "$@" "CRASHED"
if [ "$ret" != 0 ]; then
echo "$@" "CRASHED with status code $ret" >&2
fi

# Forward the status code
Expand Down

0 comments on commit 06a49f8

Please sign in to comment.