Added logging of bad_msg