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()
36
36
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
37
37
$ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
38
38
} 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
+ );
40
43
}
41
44
}
42
45
$ this ->_redirect ('adminhtml/*/ ' );
Original file line number Diff line number Diff line change @@ -35,7 +35,10 @@ public function execute()
35
35
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
36
36
$ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
37
37
} 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
+ );
39
42
}
40
43
41
44
$ this ->_redirect ('adminhtml/*/ ' );
You can’t perform that action at this time.
0 commit comments