File tree 1 file changed +5
-3
lines changed
app/code/Magento/Webapi/Model/Soap
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ class Fault
39
39
const NODE_DETAIL_WRAPPER = 'GenericFault ' ;
40
40
/**#@-*/
41
41
42
- /**#@-*/
42
+ /**
43
+ * @var string
44
+ */
43
45
protected $ _soapFaultCode ;
44
46
45
47
/**
@@ -114,7 +116,7 @@ public function __construct(
114
116
\Magento \Framework \Locale \ResolverInterface $ localeResolver ,
115
117
State $ appState
116
118
) {
117
- $ this ->_soapCode = $ exception ->getOriginator ();
119
+ $ this ->_soapFaultCode = $ exception ->getOriginator ();
118
120
$ this ->_parameters = $ exception ->getDetails ();
119
121
$ this ->_wrappedErrors = $ exception ->getErrors ();
120
122
$ this ->stackTrace = $ exception ->getStackTrace () ?: $ exception ->getTraceAsString ();
@@ -194,7 +196,7 @@ public function getDetails()
194
196
*/
195
197
public function getSoapCode ()
196
198
{
197
- return $ this ->_soapCode ;
199
+ return $ this ->_soapFaultCode ;
198
200
}
199
201
200
202
/**
You can’t perform that action at this time.
0 commit comments