Skip to content

Commit 06e5c4f

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 99923ca commit 06e5c4f

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
@@ -54,7 +54,7 @@ protected function _create(array $filteredData)
5454
Mage::getDesign()->setArea($oldArea);
5555
}
5656
} catch (Mage_Core_Exception $mageCoreException) {
57-
$this->_critical(self::RESOURCE_INTERNAL_ERROR, $mageCoreException->getCode());
57+
$this->_critical(self::RESOURCE_INTERNAL_ERROR);
5858
} catch (Throwable $throwable) {
5959
Mage::logException($throwable);
6060
$this->_critical(self::RESOURCE_UNKNOWN_ERROR);

0 commit comments

Comments
 (0)