Skip to content

Commit

Permalink
PIPRES-342: Exception log for failing ps_accounts install in controller
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 committed Oct 10, 2023
1 parent f4cd661 commit 6308455
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controllers/admin/AdminMollieSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ private function setEnvironmentForAccounts()
return;
}
} catch (\Throwable $exception) {
$logger->error('"PrestaShop Accounts" install failed.', [
'Exception message' => $exception->getMessage(),
'Exception code' => $exception->getCode(),
]);

$this->context->controller->errors[] =
$this->module->l('Failed to install Prestashop Accounts module. Please contact support.');

Expand Down

0 comments on commit 6308455

Please sign in to comment.