From cda570d7590fe63b7f718e6a052e170462c07361 Mon Sep 17 00:00:00 2001 From: Webber Date: Sun, 27 Sep 2020 21:37:09 +0200 Subject: [PATCH] Add intructions for debugging --- action/entrypoint.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/action/entrypoint.sh b/action/entrypoint.sh index 78843b0..6d0cd5b 100644 --- a/action/entrypoint.sh +++ b/action/entrypoint.sh @@ -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