Include more debugging information on invalid message