File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
app/code/Magento/AdminNotification/Controller/Adminhtml/Notification Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ public function execute()
3636 } catch (\Magento \Framework \Exception \LocalizedException $ e ) {
3737 $ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
3838 } catch (\Exception $ e ) {
39- $ this ->messageManager ->addExceptionMessage ($ e , __ ("We couldn't remove the messages because of an error. " ));
39+ $ this ->messageManager ->addExceptionMessage (
40+ $ e ,
41+ __ ("We couldn't remove the messages because of an error. " )
42+ );
4043 }
4144 }
4245 $ this ->_redirect ('adminhtml/*/ ' );
Original file line number Diff line number Diff line change @@ -35,7 +35,10 @@ public function execute()
3535 } catch (\Magento \Framework \Exception \LocalizedException $ e ) {
3636 $ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
3737 } catch (\Exception $ e ) {
38- $ this ->messageManager ->addExceptionMessage ($ e , __ ("We couldn't remove the messages because of an error. " ));
38+ $ this ->messageManager ->addExceptionMessage (
39+ $ e ,
40+ __ ("We couldn't remove the messages because of an error. " )
41+ );
3942 }
4043
4144 $ this ->_redirect ('adminhtml/*/ ' );
You can’t perform that action at this time.
0 commit comments