Commit 3c40bb06 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Problème de catch

parent bb483f5d
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -361,10 +361,11 @@ EOS;
                $mail->setLog($e->getMessage());
                $this->update($mail);
            }
            catch (Exception){}
            catch (Exception) {
                throw new RuntimeException($e->getMessage(), 0, $e);
            }
        }
    }


    protected function prepareMessageForRedirection(Email $mail, ?string $module = null): Email