File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
user_guide_src/source/installation Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,23 @@ Hooks
165165- The hook point ``post_system `` has moved just before sending the final rendered
166166 page.
167167
168+ Error Handling
169+ ==============
170+
171+ - The behavior in CI4 has been slightly changed.
172+
173+ - In CI3, ignored errors by ``error_reporting() `` in **index.php ** are not logged,
174+ but other errors are logged (but depending on the ``log_threshold `` setting,
175+ they may not be written to the log file). Only errors with the error level
176+ ``E_ERROR | E_PARSE | E_COMPILE_ERROR | E_CORE_ERROR | E_USER_ERROR ``
177+ will stop the framework processing, regardless of the error level set in
178+ ``error_reporting() ``.
179+ - In CI4, only errors with the error level set by ``error_reporting() `` in
180+ **app/Config/Boot/{environment}.php ** are logged (but depending on the
181+ ``Config\Logger::$threshold `` setting, they may not be written to the log file).
182+ All errors that are not ignored by ``error_reporting() `` will stop the
183+ framework processing.
184+
168185Extending the Framework
169186=======================
170187
You can’t perform that action at this time.
0 commit comments