diff --git a/src/DependencyInjection/OverblogGraphQLExtension.php b/src/DependencyInjection/OverblogGraphQLExtension.php index b7edc491d..4305141af 100644 --- a/src/DependencyInjection/OverblogGraphQLExtension.php +++ b/src/DependencyInjection/OverblogGraphQLExtension.php @@ -207,7 +207,8 @@ private function setErrorHandler(array $config, ContainerBuilder $container): vo $container->register(ErrorHandler::class) ->setArgument(0, new Reference(EventDispatcherInterface::class)) - ->setArgument(1, new Reference(ExceptionConverterInterface::class)); + ->setArgument(1, new Reference(ExceptionConverterInterface::class)) + ->setArgument(2, $config['errors_handler']['internal_error_message']); $container->register(ErrorHandlerListener::class) ->setArgument(0, new Reference(ErrorHandler::class))