fix: add automatic retries on deadlocks

This commit is contained in:
Corentin Huet 2025-09-16 12:19:48 +02:00
parent cc339201f0
commit 849420f966

View file

@ -363,7 +363,7 @@ class TicketController extends Controller
return back()
->with('success', trans('Votre message à été ajouté'));
});
}, 5);
} catch (\ErrorException $e) {
report($e);
Session::flash('error', trans('Une erreur est survenue'));