Skip to content

Commit

Permalink
Merge branch '0.13'
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg-web committed Jan 13, 2021
2 parents e143f5d + ab14d1e commit f9ed247
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 f9ed247

Please sign in to comment.