fix error messages for failed pushes
email error_log on fatal