mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various changes.
This commit is contained in:
@@ -68,13 +68,13 @@ class MailError extends Job implements ShouldQueue
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$email = config('firefly.site_owner');
|
||||
$email = (string) config('firefly.site_owner');
|
||||
$args = $this->exception;
|
||||
$args['loggedIn'] = $this->userData['id'] > 0;
|
||||
$args['user'] = $this->userData;
|
||||
$args['ip'] = $this->ipAddress;
|
||||
$args['token'] = config('firefly.ipinfo_token');
|
||||
if ($this->attempts() < 3) {
|
||||
if ($this->attempts() < 3 && strlen($email) > 0) {
|
||||
try {
|
||||
Mail::send(
|
||||
['emails.error-html', 'emails.error-text'],
|
||||
|
Reference in New Issue
Block a user