Log an error message if a branch cannot be deleted in cronjob.