From 100f66eaee62574024e1a67fdf547580d8a38baf Mon Sep 17 00:00:00 2001 From: Kartik Visweswaran Date: Sat, 4 Nov 2017 20:01:30 +0530 Subject: [PATCH 1/2] Correct exception returned in `MailEvent` Fix the exception returned. --- src/User/Event/MailEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User/Event/MailEvent.php b/src/User/Event/MailEvent.php index 75bce1a..89f6288 100644 --- a/src/User/Event/MailEvent.php +++ b/src/User/Event/MailEvent.php @@ -62,6 +62,6 @@ class MailEvent extends Event public function getException() { - return $this->mailService; + return $this->exception; } } From 0cbdd89e9bdc1a6d3482e929e577093d79152331 Mon Sep 17 00:00:00 2001 From: Kartik Visweswaran Date: Sat, 4 Nov 2017 22:27:53 +0530 Subject: [PATCH 2/2] Update change log for #106 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba44bb8..782dd45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # CHANGELOG ## 1.1.1 - Work in progress +- Bug #106: Correct exception value returned in `MailEvent::getException` (kartik-v) - Enh #99: Added German translation (jkmssoft) - Enh #100: Added pt-BR translation (gugoan)