Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Jan 15, 2025
1 parent 1ec3073 commit c145445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Handler/ErrorHandler/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct($sentryDsn, $sentryEnv)
$accountService = null;
$eventbusModule = null;
}

try {
$this->client = new \Raven_Client(
$sentryDsn,
Expand All @@ -84,7 +84,7 @@ public function __construct($sentryDsn, $sentryEnv)
/** @var string $configurationPsShopEmail */
$configurationPsShopEmail = \Configuration::get('PS_SHOP_EMAIL');
$this->client->set_user_data(
$accountService ? $accountService->getShopUuid(): false,
$accountService ? $accountService->getShopUuid() : false,
$configurationPsShopEmail
);
} catch (\Exception $e) {
Expand Down

0 comments on commit c145445

Please sign in to comment.