Skip to content

Commit

Permalink
fix(conflict): remove dependency on potentially inexistant `exception…
Browse files Browse the repository at this point in the history
…_listener` service
  • Loading branch information
paulandrieux committed Oct 7, 2022
1 parent 80c3f3c commit c3a62cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Symfony/Bundle/Resources/config/api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@
<tag name="api_platform.uri_variables.transformer" priority="-100" />
</service>

<service id="api_platform.error_listener" class="ApiPlatform\Symfony\EventListener\ErrorListener" parent="exception_listener">
<service id="api_platform.error_listener" class="ApiPlatform\Symfony\EventListener\ErrorListener">
<argument key="$controller">api_platform.action.exception</argument>
<argument type="service" id="logger" on-invalid="null" />
<argument>%kernel.debug%</argument>
</service>
</services>
</container>

0 comments on commit c3a62cb

Please sign in to comment.