• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/session/session.php
  • Класс: BitrixMainSessionSession
  • Вызов: Session::shouldLogError
private function shouldLogError(Error $error): bool
{
	if (!$error->getPrevious())
	{
		return true;
	}

	if (str_starts_with($error->getPrevious()->getMessage(), AbstractSessionHandler::LOCK_ERROR_MESSAGE))
	{
		return false;
	}

	return true;
}