Skip to content

Commit

Permalink
add link to list of exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Oct 4, 2024
1 parent 49376ec commit e47c52a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/tezos-reward-distributor/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e47c52a

Please sign in to comment.