Bail out instead of crash when parseTEMessage fails.