handle invalid log line
sendmail in case of crash