No error captured when pg_dump
fails - backup logged as successful and no notifications
#366
Labels
pg_dump
fails - backup logged as successful and no notifications
#366
Summary
When the
pg_dump
command fails (as seen in the logs), the exit code seems to be ignored the the logs indicate that the backup was successful.Steps to reproduce
I set a wrong username on purpose to test the notifications, then I ran
backup-now
in the container and observed that the backup was falsely reported as successful.What is the expected correct behavior?
The backup should fail and a notification should be sent.
Relevant logs and/or screenshots
Logs
Environment
docker-compose.yml
The text was updated successfully, but these errors were encountered: