Skip to content

Commit 7e35646

Browse files
committed
docs: fix RST format and improve the description
1 parent 8f32623 commit 7e35646

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

user_guide_src/source/installation/upgrade_4xx.rst

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,21 @@ Error Handling
171171
- The behavior in CI4 has been slightly changed.
172172

173173
- In CI3 the behavior was set in the **index.php** file:
174-
- errors ignored by ``error_reporting()`` was not logged;
175-
- other errors were logged (depending on the settings in ``log_threshold``, they may not have been written to the log file);
176-
- errors with an error level of ``E_ERROR | E_PARSE | E_COMPILE_ERROR | E_CORE_ERROR | E_USER_ERROR`` stopped framework processing, regardless of the error level set in ``error_reporting()``;
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()``.
177182
- In CI4, the behavior is set in the **app/Config/Boot/{environment}.php** file:
178-
- errors with the error level set by ``error_reporting()`` are logged (but depending on the
179-
``Config\Logger::$threshold`` setting, they may not be written to the log file);
180-
- all errors that are not ignored by ``error_reporting()`` will stop the framework processing;
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.
181189

182190
Extending the Framework
183191
=======================

0 commit comments

Comments
 (0)