From ae37c0b9fb06423f98c89f730afeaee282ac8c81 Mon Sep 17 00:00:00 2001 From: Theo Kouzelis Date: Thu, 8 Oct 2020 14:12:53 +0100 Subject: [PATCH] Namespace logging messages --- src/EmailRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EmailRule.php b/src/EmailRule.php index 47fee5f..ff36efb 100644 --- a/src/EmailRule.php +++ b/src/EmailRule.php @@ -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); }