Skip to content

Commit 975f121

Browse files
authored
Merge pull request #8690 from kenjis/update-transactions.rst
docs: update outdated description in DB Transactions
2 parents 22db69c + 17763f3 commit 975f121

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/database/transactions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ Strict Mode can be disabled as follows:
6767
Managing Errors
6868
===============
6969

70-
When you have ``DBDebug`` true in your **app/Config/Database.php** file,
71-
if a query error occurs, all the queries will be rolled backed, and an exception
72-
will be thrown. So you'll see a standard error page.
70+
.. note::
71+
Since v4.3.0, during transactions, exceptions are not thrown by default
72+
even if ``DBDebug`` is true.
7373

74-
If the ``DBDebug`` is false, you can manage your own errors like this:
74+
You can manage your own errors like this:
7575

7676
.. literalinclude:: transactions/003.php
7777

0 commit comments

Comments
 (0)