mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Merge pull request #8169 from appwrite/remove-pdo-exception
Remove throw PdoException in Error hook
This commit is contained in:
commit
329b2e151d
1 changed files with 0 additions and 4 deletions
|
|
@ -337,10 +337,6 @@ $worker
|
||||||
$pools->reclaim();
|
$pools->reclaim();
|
||||||
$version = System::getEnv('_APP_VERSION', 'UNKNOWN');
|
$version = System::getEnv('_APP_VERSION', 'UNKNOWN');
|
||||||
|
|
||||||
if ($error instanceof PDOException) {
|
|
||||||
throw $error;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($logger) {
|
if ($logger) {
|
||||||
$log->setNamespace("appwrite-worker");
|
$log->setNamespace("appwrite-worker");
|
||||||
$log->setServer(\gethostname());
|
$log->setServer(\gethostname());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue