1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00
appwrite/app
Steven Nguyen 719aa67afa
Remove PDO rethrow
The PDOException was rethrown in general.php so that it could be caught
in the catch block of http.php. However, [a change in
utopia-php/framework](9d37326851)
caused the exception to be masked as an Exception rather than the
underlying PDOException. As such, the `$th instanceof PDOException` in
http.php is always false and `$db = null` is never executed. Since these
snippets of code aren't doing anything or adding value, they should be
removed.

In addition, the `$db = null` may have been added to ensure the
connection was added back to the pool and/or reset if needed, but it
seems like that's not a problem anymore.
2022-10-25 10:05:52 -07:00
..
config Update API specs 2022-10-18 21:05:54 +00:00
controllers Remove PDO rethrow 2022-10-25 10:05:52 -07:00
db/DBIP Merge branch 'appwrite:master' into feat-XXX-authentik-oauth 2022-07-06 11:02:59 +02:00
tasks Update SDK License to match opensource.org 2022-10-12 09:57:54 -07:00
views Revert "Feat app region" 2022-09-30 12:32:58 +02:00
workers Only delete collection data for correct db 2022-10-11 22:51:10 +00:00
cli.php
executor.php Rename req.env to req.variables in runtime container 2022-09-13 00:49:08 +00:00
http.php Remove PDO rethrow 2022-10-25 10:05:52 -07:00
init.php fix renamed function 2022-10-14 11:24:37 +00:00
preload.php
realtime.php Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix 2022-08-19 16:49:34 +12:00