Skip to content

Commit

Permalink
Merge pull request #25953 from demeritcowboy/too-loggy
Browse files Browse the repository at this point in the history
Duplicate logging not needed for PEAR_Errors anymore
  • Loading branch information
mlutfy committed Mar 30, 2023
2 parents 2b9d36b + 02b0389 commit 3e87784
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CRM/Core/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,6 @@ public static function reset() {
* @throws PEAR_Exception
*/
public static function exceptionHandler($pearError) {
CRM_Core_Error::debug_var('Fatal Error Details', self::getErrorDetails($pearError), TRUE, TRUE, '', PEAR_LOG_ERR);
CRM_Core_Error::backtrace('backTrace', TRUE);
if ($pearError instanceof DB_Error) {
throw new DBQueryException($pearError->getMessage(), $pearError->getCode(), ['exception' => $pearError]);
}
Expand Down

0 comments on commit 3e87784

Please sign in to comment.