• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/controller.php
  • Класс: BitrixMainEngineController
  • Вызов: Controller::shouldWriteToLogException
private function shouldWriteToLogException(Throwable $e): bool
{
	if ($e instanceof BinderArgumentException)
	{
		return false;
	}

	if ($e instanceof SystemException && ($e->getCode() === self::EXCEPTION_UNKNOWN_ACTION))
	{
		return false;
	}

	return true;
}