Skip to content

Commit

Permalink
logging not needed here anymore - still gets logged later if not caught
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Mar 29, 2023
1 parent 57abdb8 commit 02b0389
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 02b0389

Please sign in to comment.