From c903b82b7b280a1a3bb8c14d3fc5249ab98380ad Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 31 Mar 2023 19:21:29 +0200 Subject: [PATCH] Less dramatic mail error --- app/Jobs/MailError.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.php index 4d3cedadee..6e7730990d 100644 --- a/app/Jobs/MailError.php +++ b/app/Jobs/MailError.php @@ -100,7 +100,8 @@ class MailError extends Job implements ShouldQueue Log::warning('[RFC] Could not email or log the error. Please validate your email settings, use the .env.example file as a guide.'); return; } - throw new FireflyException($e->getMessage(), 0, $e); + Log::error($e->getMessage()); + Log::error($e->getTraceAsString()); } } }