add command error mesaage to exception log