mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:04:41 -04:00
Additional logging for import failures
This commit is contained in:
parent
c7fe3c8824
commit
ac3a7f00b9
@ -227,6 +227,8 @@ class BaseImport
|
||||
];
|
||||
|
||||
nlog("Ingest {$ex->getMessage()}");
|
||||
nlog($record);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user