Add better debug message when failing to parse message