Skip to content

Commit cda570d

Browse files
committed
Add intructions for debugging
1 parent c900435 commit cda570d

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

action/entrypoint.sh

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,21 @@ fi
9898
#
9999
if [ $UNITY_EXIT_CODE -eq 0 ]; then
100100
# Activation was a success
101-
echo "Activation complete."
101+
echo ""
102+
echo "###########################"
103+
echo "# Activation complete #"
104+
echo "###########################"
105+
echo ""
102106
else
103-
# Activation failed so exit with the code from the license verification step
104-
echo "Unclassified error occured while trying to activate license."
105-
echo "Exit code was: $UNITY_EXIT_CODE"
107+
echo ""
108+
echo "###########################"
109+
echo "# Failure #"
110+
echo "###########################"
111+
echo ""
112+
echo "Please note that the exit code is not very descriptive."
113+
echo "Most likely it will not help you solve the issue."
114+
echo ""
115+
echo "To find the reason for failure: please search for errors in the log above."
116+
echo ""
106117
exit $UNITY_EXIT_CODE
107118
fi

0 commit comments

Comments
 (0)