Log import errors
This commit is contained in:
parent
fdf5526810
commit
c461129eb3
@ -51,6 +51,7 @@ class Import
|
||||
'message' => $message,
|
||||
];
|
||||
} catch (Throwable $e) {
|
||||
report($e);
|
||||
if ($e instanceof ValidationException) {
|
||||
foreach ($e->failures() as $failure) {
|
||||
$message = trans('messages.error.import_column', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user