• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/diag/exceptionhandler.php
  • Класс: BitrixMainDiagExceptionHandler
  • Вызов: ExceptionHandler::handleException
public function handleException($exception, $logType = ExceptionHandlerLog::UNCAUGHT_EXCEPTION)
{
	$this->writeToLog($exception, $logType);
	$out = $this->getHandlerOutput();
	$out->renderExceptionMessage($exception, $this->debug);
	die();
}