• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/controller/onlyoffice.php
  • Класс: BitrixDiskControllerOnlyOffice
  • Вызов: OnlyOffice::runProcessingThrowable
protected function runProcessingThrowable(Throwable $throwable)
{
	parent::runProcessingThrowable($throwable);

	if ($this->addExtendedErrorInfo)
	{
		$httpRequest = Context::getCurrent()->getRequest();
		$this->addError(new DiskInternalsErrorError(
			'Detailed info',
			'onlyoffice-01',
			[
				'r' => $httpRequest->getDecodedUri(),
				'h' => $httpRequest->getHttpHost(),
			]
		));
	}
}