Skip to content

Commit 03f6a25

Browse files
authored
Merge pull request #2 from aknosis/patch-1
Updated to reference root namespace \Exception
2 parents 95f7689 + c921035 commit 03f6a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MailgunValidator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private function queryMailgun($email)
4343
curl_close($curl);
4444

4545
if ($err) {
46-
throw new Exception('Curl Error: ' . $err);
46+
throw new \Exception('Curl Error: ' . $err);
4747
} else {
4848
return json_decode($response);
4949
}

0 commit comments

Comments
 (0)