diff --git a/DependencyInjection/LexikMaintenanceExtension.php b/DependencyInjection/LexikMaintenanceExtension.php index c0fbdcf..615c917 100644 --- a/DependencyInjection/LexikMaintenanceExtension.php +++ b/DependencyInjection/LexikMaintenanceExtension.php @@ -45,6 +45,7 @@ public function load(array $configs, ContainerBuilder $container) $container->setParameter('lexik_maintenance.authorized.attributes', $config['authorized']['attributes']); $container->setParameter('lexik_maintenance.response.http_code', $config['response']['code']); $container->setParameter('lexik_maintenance.response.http_status', $config['response']['status']); + $container->setParameter('lexik_maintenance.response.exception_message', $config['response']['exception_message']); if (isset($config['driver']['options']['dsn'])) { $this->registerDsnconfiguration($config['driver']['options']);