diff --git a/src/UnicaenAuthentification/Provider/Identity/DbServiceFactory.php b/src/UnicaenAuthentification/Provider/Identity/DbServiceFactory.php index bd2e218a90e508f7bb1ce4a5380751ca04580e8c..fc120093b34c87a5c68594927fef5f97311b9253 100644 --- a/src/UnicaenAuthentification/Provider/Identity/DbServiceFactory.php +++ b/src/UnicaenAuthentification/Provider/Identity/DbServiceFactory.php @@ -44,7 +44,7 @@ class DbServiceFactory implements FactoryInterface throw new RuntimeException( "Impossible de se connecter à l'annuaire LDAP. Si aucune connexion LDAP n'est nécessaire, veuillez " . "commenter les paramètres de config (connection > default > params).", - $e + $e->getCode() ); } $identityProvider->setLdap($ldap);