Selaa lähdekoodia

ExceptionListener : correctif

develop
Guillaume Bourgeois 6 kuukautta sitten
vanhempi
commit
a31d6caaea
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      EventListener/ExceptionListener.php

+ 1
- 0
EventListener/ExceptionListener.php Näytä tiedosto

@@ -20,6 +20,7 @@ class ExceptionListener
// You get the exception object from the received event
$exception = $event->getThrowable();

// @TODO : à retester et éventuellement remettre en place
// On détecte une erreur interne (500), on remove les sessions qui servent de filtre dans l'admin
/*if ($exception instanceof HttpExceptionInterface != true) {
if (!headers_sent()) {

Loading…
Peruuta
Tallenna