fix(mass-actions): report exceptions instead of silently swallowing them
This commit is contained in:
parent
15e729cbe2
commit
9e4da0e287
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ trait HasMassActions
|
|||
});
|
||||
} catch (ValidationException $e) {
|
||||
throw $e;
|
||||
} catch (\Throwable) {
|
||||
} catch (\Throwable $e) {
|
||||
report($e);
|
||||
|
||||
return back()->with('error', trans('crud.messages.cannot_be_updated'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue