File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
user_guide_src/source/installation Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,28 @@ 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 the behavior is set in the **index.php ** file:
174+
175+ - errors with the error level set by ``error_reporting() `` are logged (but
176+ depending on the ``log_threshold `` setting, they may not be written to
177+ the log file).
178+ - errors with an error level of
179+ ``E_ERROR | E_PARSE | E_COMPILE_ERROR | E_CORE_ERROR | E_USER_ERROR ``
180+ stopped framework processing, regardless of the error level set in
181+ ``error_reporting() ``.
182+ - In CI4, the behavior is set in the **app/Config/Boot/{environment}.php ** file:
183+
184+ - errors with the error level set by ``error_reporting() `` are logged (but
185+ depending on the ``Config\Logger::$threshold `` setting, they may not be
186+ written to the log file).
187+ - all errors that are not ignored by ``error_reporting() `` will stop the
188+ framework processing.
189+
168190Extending the Framework
169191=======================
170192
You can’t perform that action at this time.
0 commit comments