Added error check code for Reset with no empty message.