Correct logging of bad payload type