Catch an exception on $node->text()