Skip to content

Commit 86f2209

Browse files
committed
Allow exception rendering to auto-detect based on environment.
Add additional documentation for new options in 4.4
1 parent e57567b commit 86f2209

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

config/app.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@
166166
* - `log` - boolean - Whether or not you want exceptions logged.
167167
* - `exceptionRenderer` - string - The class responsible for rendering
168168
* uncaught exceptions. If you choose a custom class you should place
169-
* the file for that class in src/Error. This class needs to implement a
170-
* render method.
169+
* the file for that class in src/Error. This class needs to implement a `render()` method.
170+
* `errorRenderer` - string - The class responsible for rendering PHP errors. This class needs
171+
* to implement the `Cake\Error\ErrorRendererInterface`.
171172
* - `skipLog` - array - List of exceptions to skip for logging. Exceptions that
172173
* extend one of the listed exceptions will also be skipped for logging.
173174
* E.g.:
@@ -181,7 +182,6 @@
181182
*/
182183
'Error' => [
183184
'errorLevel' => E_ALL,
184-
'exceptionRenderer' => ExceptionRenderer::class,
185185
'skipLog' => [],
186186
'log' => true,
187187
'trace' => true,

0 commit comments

Comments
 (0)