fixes for migration
This commit is contained in:
parent
cf98a03d0e
commit
5c26fc572c
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ class StartMigration implements ShouldQueue
|
|||
$this->company->update_products = $update_product_flag;
|
||||
$this->company->save();
|
||||
|
||||
Mail::to($this->user)->send(new MigrationFailed($e, $e->getMessage()));
|
||||
Mail::to($this->user->email, $this->user->name())->send(new MigrationFailed($e, $e->getMessage()));
|
||||
|
||||
if (app()->environment() !== 'production') {
|
||||
info($e->getMessage());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue