From 20b9744cea67df301ff6e508e9bdfd8f86dd8c3f Mon Sep 17 00:00:00 2001 From: Denis Brumann Date: Mon, 25 Jul 2022 10:11:27 +0200 Subject: [PATCH 1/3] Update bundle config reference for https://github.com/php-http/HttplugBundle/pull/419 --- integrations/symfony-bundle.rst | 2 ++ integrations/symfony-full-configuration.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/integrations/symfony-bundle.rst b/integrations/symfony-bundle.rst index 90e39a0..bc78b5a 100644 --- a/integrations/symfony-bundle.rst +++ b/integrations/symfony-bundle.rst @@ -322,6 +322,8 @@ You can configure many of the plugins directly on the client: acme: factory: 'httplug.factory.guzzle6' plugins: + - error: + only_server_exception: true - add_host: host: "http://localhost:8000" - header_defaults: diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index 4f25821..a389ae1 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -67,6 +67,8 @@ This page shows an example of all configuration values provided by the bundle. retry: 1 stopwatch: stopwatch: 'debug.stopwatch' + error: + only_server_exception: false profiling: enabled: true # Defaults to kernel.debug From 09bc998857a700fbfb37bd3c81e70d42a4e380d1 Mon Sep 17 00:00:00 2001 From: Denis Brumann Date: Mon, 25 Jul 2022 15:49:09 +0200 Subject: [PATCH 2/3] Update integrations/symfony-full-configuration.rst Co-authored-by: David Buchmann --- integrations/symfony-full-configuration.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index a389ae1..e021d39 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -68,6 +68,7 @@ This page shows an example of all configuration values provided by the bundle. stopwatch: stopwatch: 'debug.stopwatch' error: + enabled: false only_server_exception: false profiling: From df89011bba12eeaa64989a3026242ba4c4e23377 Mon Sep 17 00:00:00 2001 From: Denis Brumann Date: Mon, 25 Jul 2022 15:55:53 +0200 Subject: [PATCH 3/3] Move error plugin in docs to other section. --- integrations/symfony-bundle.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integrations/symfony-bundle.rst b/integrations/symfony-bundle.rst index bc78b5a..304e08c 100644 --- a/integrations/symfony-bundle.rst +++ b/integrations/symfony-bundle.rst @@ -477,8 +477,7 @@ List of Services +-------------------------------------+-------------------------------------------------------------------------+ | | ``httplug.plugin.content_length`` | | These are plugins that are enabled by default. | | | ``httplug.plugin.decoder`` | | These services are private and should only be used to configure | -| | ``httplug.plugin.error`` | | clients or other services. | -| | ``httplug.plugin.logger`` | | +| | ``httplug.plugin.logger`` | | clients or other services. | | | ``httplug.plugin.redirect`` | | | | ``httplug.plugin.retry`` | | | | ``httplug.plugin.stopwatch`` | | @@ -486,7 +485,7 @@ List of Services | | ``httplug.plugin.cache`` | | These are plugins that are disabled by default and only get | | | ``httplug.plugin.cookie`` | | activated when configured. | | | ``httplug.plugin.history`` | | These services are private and should only be used to configure | -| | | clients or other services. | +| | ``httplug.plugin.error`` | | clients or other services. | +-------------------------------------+-------------------------------------------------------------------------+ \* *These services are always an alias to another service. You can specify your own service or leave the default, which is the same name with `.default` appended.*