diff --git a/app/Jobs/Invoice/ZipInvoices.php b/app/Jobs/Invoice/ZipInvoices.php index 5e75a86d0ed4..01fb041a7cb3 100644 --- a/app/Jobs/Invoice/ZipInvoices.php +++ b/app/Jobs/Invoice/ZipInvoices.php @@ -96,7 +96,7 @@ class ZipInvoices extends BaseMailerJob implements ShouldQueue Mail::to($this->email) ->send(new DownloadInvoices(Storage::disk(config('filesystems.default'))->url($path.$file_name), $this->company)); } catch (\Exception $e) { - $this->failed($e); + // //$this->failed($e); } UnlinkFile::dispatch(config('filesystems.default'), $path.$file_name)->delay(now()->addHours(1)); diff --git a/app/Jobs/Mail/EntityFailedSendMailer.php b/app/Jobs/Mail/EntityFailedSendMailer.php index 3b8cf6be6e08..0aabf91ef683 100644 --- a/app/Jobs/Mail/EntityFailedSendMailer.php +++ b/app/Jobs/Mail/EntityFailedSendMailer.php @@ -96,7 +96,7 @@ class EntityFailedSendMailer extends BaseMailerJob implements ShouldQueue ->send(new EntityNotificationMailer($mail_obj)); } catch (\Exception $e) { nlog("failing in EntityFailedSendMailer"); - $this->failed($e); + //$this->failed($e); $this->logMailError($e->getMessage(), $this->entity->client); } } diff --git a/app/Jobs/Mail/EntityPaidMailer.php b/app/Jobs/Mail/EntityPaidMailer.php index c5b483cb6c50..7c8094cbda97 100644 --- a/app/Jobs/Mail/EntityPaidMailer.php +++ b/app/Jobs/Mail/EntityPaidMailer.php @@ -83,7 +83,7 @@ class EntityPaidMailer extends BaseMailerJob implements ShouldQueue Mail::to($this->user->email) ->send(new EntityNotificationMailer($mail_obj)); } catch (\Exception $e) { - $this->failed($e); + // //$this->failed($e); $this->logMailError($e->getMessage(), $this->payment->client); } } diff --git a/app/Jobs/Mail/EntitySentMailer.php b/app/Jobs/Mail/EntitySentMailer.php index 76aa2c7cd33b..e7660f5e1f84 100644 --- a/app/Jobs/Mail/EntitySentMailer.php +++ b/app/Jobs/Mail/EntitySentMailer.php @@ -90,7 +90,7 @@ class EntitySentMailer extends BaseMailerJob implements ShouldQueue Mail::to($this->user->email) ->send(new EntityNotificationMailer($mail_obj)); } catch (\Exception $e) { - $this->failed($e); + // //$this->failed($e); $this->logMailError($e->getMessage(), $this->entity->client); } } diff --git a/app/Jobs/Mail/EntityViewedMailer.php b/app/Jobs/Mail/EntityViewedMailer.php index d8e06ef43d89..fa8fca3efd7b 100644 --- a/app/Jobs/Mail/EntityViewedMailer.php +++ b/app/Jobs/Mail/EntityViewedMailer.php @@ -88,7 +88,7 @@ class EntityViewedMailer extends BaseMailerJob implements ShouldQueue Mail::to($this->user->email) ->send(new EntityNotificationMailer($mail_obj)); } catch (\Exception $e) { - $this->failed($e); + //$this->failed($e); $this->logMailError($e->getMessage(), $this->entity->client); } } diff --git a/app/Jobs/Mail/MailRouter.php b/app/Jobs/Mail/MailRouter.php index 640c38244b30..c2673d4e050f 100644 --- a/app/Jobs/Mail/MailRouter.php +++ b/app/Jobs/Mail/MailRouter.php @@ -73,7 +73,7 @@ class MailRouter extends BaseMailerJob implements ShouldQueue Mail::to($this->to_user->email) ->send($this->mailable); } catch (\Exception $e) { - $this->failed($e); + //$this->failed($e); if ($this->to_user instanceof ClientContact) { $this->logMailError($e->getMessage(), $this->to_user->client); diff --git a/app/Jobs/Mail/PaymentFailureMailer.php b/app/Jobs/Mail/PaymentFailureMailer.php index e713f5bcd7e9..5d82c83cd7dc 100644 --- a/app/Jobs/Mail/PaymentFailureMailer.php +++ b/app/Jobs/Mail/PaymentFailureMailer.php @@ -98,7 +98,7 @@ class PaymentFailureMailer extends BaseMailerJob implements ShouldQueue Mail::to($company_user->user->email) ->send(new EntityNotificationMailer($mail_obj)); } catch (\Exception $e) { - $this->failed($e); + //$this->failed($e); $this->logMailError($e->getMessage(), $this->client); } } diff --git a/app/Jobs/Payment/EmailPayment.php b/app/Jobs/Payment/EmailPayment.php index 4f5c3f1a13d7..32d9c36395c2 100644 --- a/app/Jobs/Payment/EmailPayment.php +++ b/app/Jobs/Payment/EmailPayment.php @@ -84,7 +84,7 @@ class EmailPayment extends BaseMailerJob implements ShouldQueue } catch (\Exception $e) { nlog("mailing failed with message " . $e->getMessage()); event(new PaymentWasEmailedAndFailed($this->payment, $this->company, Mail::failures(), Ninja::eventVars())); - $this->failed($e); + //$this->failed($e); return $this->logMailError($e->getMessage(), $this->payment->client); } diff --git a/app/Jobs/User/UserEmailChanged.php b/app/Jobs/User/UserEmailChanged.php index 98866df23e3c..425df5481e9e 100644 --- a/app/Jobs/User/UserEmailChanged.php +++ b/app/Jobs/User/UserEmailChanged.php @@ -79,7 +79,7 @@ class UserEmailChanged extends BaseMailerJob implements ShouldQueue Mail::to($this->new_email) ->send(new UserNotificationMailer($mail_obj)); } catch (\Exception $e) { - $this->failed($e); + //$this->failed($e); $this->logMailError($e->getMessage(), $this->company->owner()); } }