Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
compatible magento 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinichi69 committed Apr 15, 2021
1 parent a91a807 commit 7fe130a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Controller/Adminhtml/Logs/Replay.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ public function execute()
$log->setStatus(Status::SUCCESS)->setMessage('');
$this->messageManager->addSuccess(__('The log has been replay successful.'));
} else {
$this->messageManager->addError($result['message']);
$log->setStatus(Status::ERROR)->setMessage($result['message']);
$message = __('Cannot replay the log, Please try again later.');
$this->messageManager->addError($message);
$log->setStatus(Status::ERROR)->setMessage($message);
}
$log->save();

Expand Down
1 change: 1 addition & 0 deletions i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,4 @@ Replay,Replay
"Created Date","Created Date"
"Updated Date","Updated Date"
Edit,Edit
"Cannot replay the log, Please try again later.","Cannot replay the log, Please try again later."

0 comments on commit 7fe130a

Please sign in to comment.