Skip to content

Commit 5c607a4

Browse files
mpchadwickihor-sviziev
authored andcommitted
Update returns
1 parent 9fa2765 commit 5c607a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/NewRelicReporting/Plugin/StatePlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ public function __construct(
5454
public function afterSetAreaCode(State $state, $result)
5555
{
5656
if (!$this->shouldSetAppName()) {
57-
return;
57+
return $result;
5858
}
5959

6060
try {
6161
$this->newRelicWrapper->setAppName($this->appName($state));
6262
} catch (LocalizedException $e) {
6363
$this->logger->critical($e);
64-
return;
64+
return $result;
6565
}
6666
}
6767

0 commit comments

Comments
 (0)