adding better error capturing to Node::getField()