how to show errors in JS Alert
-
13-01-2021 - |
해결책
In your module controller
try {
//Your program logic
} catch (\Exception $e) {
$this->messageManager->addErrorMessage("Your error message{$e->getMessage()}.");
$this->_redirect('*/*/');
return;
}
제휴하지 않습니다 magento.stackexchange