Skip to content

Commit

Permalink
Merge pull request #4 from yuriy-yakubskiy/add-wsdl-does-not-exist-check
Browse files Browse the repository at this point in the history
Added file exist check to DefinitionsReader:getDOM
  • Loading branch information
goetas authored Jan 9, 2019
2 parents 99a5fcb + fa772e7 commit 55059a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/DefinitionsReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,10 +506,7 @@ private function getDOM($file)
{
$xml = new DOMDocument('1.0', 'UTF-8');
if (!$xml->load($file, LIBXML_NONET)) {
print_r(libxml_get_errors());
die();
throw new IOException("Can't load the file $file");

}
return $xml;
}
Expand Down

0 comments on commit 55059a2

Please sign in to comment.