Merge pull request #5215 from goodygh/5136-fix-logger-error-handling
[web] logger pdo exception handling workaround
This commit is contained in:
commit
cf239dd6b2
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user