mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-11 09:29:34 +00:00
Auto commit for release 'develop' on 2024-04-08
This commit is contained in:
@@ -88,7 +88,7 @@ class MailError extends Job implements ShouldQueue
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (\Exception | TransportException $e) { // @phpstan-ignore-line
|
||||
} catch (\Exception|TransportException $e) { // @phpstan-ignore-line
|
||||
$message = $e->getMessage();
|
||||
if (str_contains($message, 'Bcc')) {
|
||||
app('log')->warning('[Bcc] Could not email or log the error. Please validate your email settings, use the .env.example file as a guide.');
|
||||
@@ -125,7 +125,6 @@ class MailError extends Job implements ShouldQueue
|
||||
}
|
||||
|
||||
if (!file_exists($file)) {
|
||||
|
||||
Log::debug(sprintf('Wrote new file in "%s"', $file));
|
||||
file_put_contents($file, json_encode($limits, JSON_PRETTY_PRINT));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user