Additional logging for import failures

This commit is contained in:
David Bomba 2023-02-05 08:19:07 +11:00
parent c7fe3c8824
commit ac3a7f00b9
2 changed files with 5 additions and 0 deletions

View File

@ -227,6 +227,8 @@ class BaseImport
];
nlog("Ingest {$ex->getMessage()}");
nlog($record);
}
}

View File

@ -41,6 +41,9 @@ class UserObserver
if (Ninja::isHosted() && $user->isDirty('email')) {
//ensure they are owner user and update email on file.
if(class_exists(\Modules\Admin\Jobs\Account\UpdateOwnerUser::class))
\Modules\Admin\Jobs\Account\UpdateOwnerUser::dispatch($user->account->account_key, $user, $user->getOriginal('email'));
}
}