This commit is contained in:
James Cole
2023-12-21 05:07:26 +01:00
parent 1f7ceb6df6
commit a445bc53cd
61 changed files with 165 additions and 163 deletions

View File

@@ -179,7 +179,7 @@ class Handler extends ExceptionHandler
*
* @throws \Throwable
*/
public function report(\Throwable $e)
public function report(\Throwable $e): void
{
$doMailError = (bool)config('firefly.send_error_message');
if ($this->shouldntReportLocal($e) || !$doMailError) {