fix(mass-actions): report exceptions instead of silently swallowing them

This commit is contained in:
Jérémy Munsch 2026-10-03 10:02:07 +02:00
parent 15e729cbe2
commit 9e4da0e287
No known key found for this signature in database
GPG key ID: 2AAECDA6B7330F91

View file

@ -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'));
}
}