mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-24 10:13:22 +00:00
logger pdo exception handling workaround
This commit is contained in:
1 parent
428b917579
commit
9752313d24
1 file changed
+3
-2
@@ -526,8 +526,9 @@ function logger($_data = false) {
|
|||||||
':remote' => get_remote_ip()
|
':remote' => get_remote_ip()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
catch (Exception $e) {
|
catch (PDOException $e) {
|
||||||
// Do nothing
|
# handle the exception here, as the exception handler function results in a white page
|
||||||
|
error_log($e->getMessage(), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user