Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[SOAP] improve error of grabTextContentFrom when xpath not found #3426
$this->grabTextContentFrom("//*[local-name() = 'login']");
If [login] doesn't exist in the SOAP response you will have:
We don't know the name of property not found ... that's bad.
After the fix you will have:
It's better I think.
The fix was just because query return always a DOMNodeList but empty.