Skip to content

Commit

Permalink
Merge pull request #10 from TheoKouzelis/fix/namespace-logging
Browse files Browse the repository at this point in the history
Namespace logging messages
  • Loading branch information
TheoKouzelis authored Oct 8, 2020
2 parents 0f2ba77 + ae37c0b commit be6c396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EmailRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function validate($attribute, $value, $parameters)
try {
$mailgun = $this->getMailgunValidation($value, in_array('mailbox', $parameters));
} catch (Exception $e) {
$this->log->warning($e->getMessage(), [$e]);
$this->log->warning('MAILGUN: VALIDATION: ' . $e->getMessage(), [$e]);

return !in_array('strict', $parameters);
}
Expand Down

0 comments on commit be6c396

Please sign in to comment.