Merge pull request #7300 from firefly-iii/mail-error

Mail error
This commit is contained in:
James Cole 2023-03-31 19:21:58 +02:00 committed by GitHub
commit 5111aaa123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.'); Log::warning('[RFC] Could not email or log the error. Please validate your email settings, use the .env.example file as a guide.');
return; return;
} }
throw new FireflyException($e->getMessage(), 0, $e); Log::error($e->getMessage());
Log::error($e->getTraceAsString());
} }
} }
} }