Skip to content

Commit

Permalink
Update en/development/errors.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Story <[email protected]>
  • Loading branch information
hekep and markstory authored Aug 20, 2021
1 parent 8efe84c commit f8c0ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/development/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ Finally, we can use our error handler in the ``ErrorHandlerMiddleware``::
return $middleware;
}

For console commands, you should extend ``Cake\Error\ConsoleErrorHandler`` instead.
For console error handling, you should extend ``Cake\Error\ConsoleErrorHandler`` instead::

// In /src/Error/AppConsoleErrorHandler.php
namespace App\Error;
Expand Down

0 comments on commit f8c0ab3

Please sign in to comment.