improved resh parse error output