Explorar el Código

ExceptionListener : correctif

develop
Guillaume Bourgeois hace 6 meses
padre
commit
a31d6caaea
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      EventListener/ExceptionListener.php

+ 1
- 0
EventListener/ExceptionListener.php Ver fichero

@@ -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()) {

Cargando…
Cancelar
Guardar