Emit error if message parsing fails.