added better debug to msh errors