Assign public property to
This commit is contained in:
parent
330a26ee78
commit
fd7d55dba6
2 changed files with 3 additions and 0 deletions
|
|
@ -288,6 +288,7 @@ class CompanyImport implements ShouldQueue
|
|||
$nmo->to_user = $this->company->owner();
|
||||
NinjaMailerJob::dispatchNow($nmo);
|
||||
|
||||
nlog($this->message);
|
||||
throw new \Exception($this->message);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ class CompanyImportFailure extends Mailable
|
|||
$this->title = ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]);
|
||||
$this->whitelabel = $this->company->account->isPaid();
|
||||
|
||||
nlog($this->user_message);
|
||||
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->subject(ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]))
|
||||
->view('email.import.import_failure', ['user_message' => $this->user_message, 'title' => $this->title]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue