Skip to content

Commit

Permalink
Add intructions for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Sep 27, 2020
1 parent c900435 commit cda570d
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,21 @@ fi
#
if [ $UNITY_EXIT_CODE -eq 0 ]; then
# Activation was a success
echo "Activation complete."
echo ""
echo "###########################"
echo "# Activation complete #"
echo "###########################"
echo ""
else
# Activation failed so exit with the code from the license verification step
echo "Unclassified error occured while trying to activate license."
echo "Exit code was: $UNITY_EXIT_CODE"
echo ""
echo "###########################"
echo "# Failure #"
echo "###########################"
echo ""
echo "Please note that the exit code is not very descriptive."
echo "Most likely it will not help you solve the issue."
echo ""
echo "To find the reason for failure: please search for errors in the log above."
echo ""
exit $UNITY_EXIT_CODE
fi

0 comments on commit cda570d

Please sign in to comment.