Skip to content

Commit

Permalink
Update epp.php
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga committed Feb 16, 2023
1 parent 980236b commit 05e08dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epp.php
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ public function write($xml)
}
$r = simplexml_load_string($this->readResponse());
if (isset($r->response) && $r->response->result->attributes()->code >= 2000) {
throw new EppException($r->response->result->msg);
throw new exception($r->response->result->msg);
}
return $r;
}
Expand Down

0 comments on commit 05e08dd

Please sign in to comment.