Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Vincz/GraphQLBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincz committed Jan 14, 2021
2 parents c32acb4 + 96e841b commit 8603e24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DependencyInjection/OverblogGraphQLExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,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))
Expand Down

0 comments on commit 8603e24

Please sign in to comment.