implement RETRY for send_album

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-06-26 09:11:10 +02:00
parent a69204596e
commit 5afe05aa44
2 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.962-86-ge315162
#### $$VERSION$$ v0.962-87-ga692045
#
# Exit Codes:
# - 0 success (hopefully)
@ -416,6 +416,9 @@ sendJsonRetry(){
'sendUpload'*)
sendUpload "$@"
;;
'send_album'*)
send_album "$@"
;;
*)
printf "%s: Error: unknown function %s, cannot retry\n" "$(date)" "${retry}"
return

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.962-85-g01a72e8
#### $$VERSION$$ v0.962-87-ga692045
# will be automatically sourced from bashbot