chore (script): use better error logging

This commit is contained in:
Thomas Bishop 2025-05-11 14:13:32 +01:00
parent 366f1c5fc5
commit 5c054000a9

View file

@ -20,5 +20,5 @@ if [ $STATUS -eq 0 ]; then
"Created backup of ${FORGEJO_MYSQL_CONTAINER} on VPS."
else
$RCHAT_NOTIFIER "backups" "error" \
"Failed to create backup of ${FORGEJO_MYSQL_CONTAINER}: problem with rsync (exit code $STATUS)."
"Failed to create backup of ${FORGEJO_MYSQL_CONTAINER}: exit code $STATUS."
fi