File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function execute($id = null)
33
33
try {
34
34
$ this ->_reindexRows ([$ id ]);
35
35
} catch (\Exception $ e ) {
36
- throw new \Magento \Framework \Exception \LocalizedException ($ e ->getMessage (), $ e -> getCode ( ), $ e );
36
+ throw new \Magento \Framework \Exception \LocalizedException (__ ( $ e ->getMessage ()), $ e );
37
37
}
38
38
}
39
39
}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function execute($ids)
33
33
try {
34
34
$ this ->_reindexRows ($ ids );
35
35
} catch (\Exception $ e ) {
36
- throw new \Magento \Framework \Exception \LocalizedException ($ e ->getMessage (), $ e -> getCode ( ), $ e );
36
+ throw new \Magento \Framework \Exception \LocalizedException (__ ( $ e ->getMessage ()), $ e );
37
37
}
38
38
}
39
39
}
You can’t perform that action at this time.
0 commit comments