From e47c52aebe53c0f0749ef02b8123dbe76072db53 Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Fri, 4 Oct 2024 17:27:17 +0200 Subject: [PATCH] add link to list of exit codes --- charts/tezos-reward-distributor/scripts/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/tezos-reward-distributor/scripts/run.sh b/charts/tezos-reward-distributor/scripts/run.sh index db7fca3..ae32ea2 100644 --- a/charts/tezos-reward-distributor/scripts/run.sh +++ b/charts/tezos-reward-distributor/scripts/run.sh @@ -22,7 +22,9 @@ python src/main.py \ ${EXTRA_TRD_ARGS} \ ${dry_run_arg} -# if TRD fails or returns exit code 9, send a slack alert +# if TRD fails, send a slack alert +# Some exit codes are excluded. List of exit codes: +# https://github.com/tezos-reward-distributor-organization/tezos-reward-distributor/blob/cdf7d3884bdf880c5e13267c6d6ad3af470b2e4e/src/util/exit_program.py#L6 exit_code=$? if [ $exit_code -ne 0 ]; then # check if bot token and channel are set