ti2-tourplan 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -92,13 +92,13 @@ class Plugin {
|
|
|
92
92
|
const error = R.path(['Reply', 'ErrorReply', 0, 'Error', 0], replyObj);
|
|
93
93
|
if (error) {
|
|
94
94
|
const requestType = R.keys(model)[0];
|
|
95
|
-
if (
|
|
95
|
+
if (error.indexOf('2050 SCN Request denied for TEST connecting from') > -1
|
|
96
96
|
&& requestType === 'OptionInfoRequest'
|
|
97
97
|
&& endpoint.indexOf('actour') > -1
|
|
98
98
|
) {
|
|
99
99
|
return 'useFixture';
|
|
100
100
|
}
|
|
101
|
-
throw new Error(`${requestType} failed: ${error}
|
|
101
|
+
throw new Error(`${requestType} failed: ${error}`);
|
|
102
102
|
}
|
|
103
103
|
return R.path(['Reply'], replyObj);
|
|
104
104
|
};
|