From 8d413ad2227d5e3918490e857e9caed193b196a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Tobias=20de=20Freitas=20Neto?= Date: Fri, 25 Aug 2023 17:04:23 -0400 Subject: [PATCH] =?UTF-8?q?Removendo=20throw=20desnecess=C3=A1rio.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/Traits/LogTrait.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/Traits/LogTrait.php b/src/app/Traits/LogTrait.php index de77fdd..028744f 100644 --- a/src/app/Traits/LogTrait.php +++ b/src/app/Traits/LogTrait.php @@ -53,10 +53,6 @@ trait LogTrait if ($defaultChannel === 'email' || in_array('email', $stackChannels, true)) { $this->logServices[] = app(EmailLogService::class); } - - if (empty($this->logServices)) { - throw new RuntimeException('No matching log channel found.'); - } } /**