Skip to content

Commit 99923ca

Browse files
sreichelCopilot
andauthored
Update app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1231093 commit 99923ca

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin

1 file changed

+1
-1
lines changed

app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function _create(array $filteredData)
5757
$this->_critical(self::RESOURCE_INTERNAL_ERROR, $mageCoreException->getCode());
5858
} catch (Throwable $throwable) {
5959
Mage::logException($throwable);
60-
$this->_critical(self::RESOURCE_UNKNOWN_ERROR, $throwable->getCode());
60+
$this->_critical(self::RESOURCE_UNKNOWN_ERROR);
6161
}
6262

6363
return $this->_getLocation($historyItem);

0 commit comments

Comments
 (0)