File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Customer/Controller/Adminhtml/Index Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Customer \Controller \RegistryConstants ;
12
12
use Magento \Customer \Model \EmailNotificationInterface ;
13
13
use Magento \Customer \Model \Metadata \Form ;
14
+ use Magento \Framework \Exception \LocalizedException ;
14
15
15
16
class Save extends \Magento \Customer \Controller \Adminhtml \Index
16
17
{
@@ -267,7 +268,7 @@ public function execute()
267
268
$ this ->_addSessionErrorMessages ($ messages );
268
269
$ this ->_getSession ()->setCustomerFormData ($ originalRequestData );
269
270
$ returnToEdit = true ;
270
- } catch (\ Magento \ Framework \ Exception \ LocalizedException $ exception ) {
271
+ } catch (LocalizedException $ exception ) {
271
272
$ this ->_addSessionErrorMessages ($ exception ->getMessage ());
272
273
$ this ->_getSession ()->setCustomerFormData ($ originalRequestData );
273
274
$ returnToEdit = true ;
You can’t perform that action at this time.
0 commit comments