Skip to content

Commit

Permalink
Merge pull request #297 from dbrumann/httplugbundle_419
Browse files Browse the repository at this point in the history
Update bundle config reference for error plugin
  • Loading branch information
dbu committed Jul 25, 2022
2 parents ab70f56 + df89011 commit 4374e3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions integrations/symfony-bundle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -475,16 +477,15 @@ 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`` | |
+-------------------------------------+-------------------------------------------------------------------------+
| | ``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.*
Expand Down
3 changes: 3 additions & 0 deletions integrations/symfony-full-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ This page shows an example of all configuration values provided by the bundle.
retry: 1
stopwatch:
stopwatch: 'debug.stopwatch'
error:
enabled: false
only_server_exception: false
profiling:
enabled: true # Defaults to kernel.debug
Expand Down

0 comments on commit 4374e3d

Please sign in to comment.