@opentap/runner-client 2.37.0-alpha.1.2.18220225540 → 2.37.0
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/dist/cjs/SessionClient.js +16 -2
- package/dist/mjs/SessionClient.js +16 -2
- package/package.json +1 -1
|
@@ -125,7 +125,14 @@ var SessionClient = /** @class */ (function (_super) {
|
|
|
125
125
|
handler(planRunId, onTestPlanRun, error);
|
|
126
126
|
}
|
|
127
127
|
catch (error) {
|
|
128
|
-
|
|
128
|
+
try {
|
|
129
|
+
if (encodedMessage.string()) {
|
|
130
|
+
handler(undefined, undefined, error);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
catch (error) {
|
|
134
|
+
handler(undefined, undefined, error);
|
|
135
|
+
}
|
|
129
136
|
}
|
|
130
137
|
} }));
|
|
131
138
|
};
|
|
@@ -180,7 +187,14 @@ var SessionClient = /** @class */ (function (_super) {
|
|
|
180
187
|
handler(planRunId, stepRunId, onTestStepRun, error);
|
|
181
188
|
}
|
|
182
189
|
catch (error) {
|
|
183
|
-
|
|
190
|
+
try {
|
|
191
|
+
if (encodedMessage.string()) {
|
|
192
|
+
handler(undefined, undefined, undefined, error);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
catch (error) {
|
|
196
|
+
handler(undefined, undefined, undefined, error);
|
|
197
|
+
}
|
|
184
198
|
}
|
|
185
199
|
} }));
|
|
186
200
|
};
|
|
@@ -90,7 +90,14 @@ export class SessionClient extends BaseClient {
|
|
|
90
90
|
handler(planRunId, onTestPlanRun, error);
|
|
91
91
|
}
|
|
92
92
|
catch (error) {
|
|
93
|
-
|
|
93
|
+
try {
|
|
94
|
+
if (encodedMessage.string()) {
|
|
95
|
+
handler(undefined, undefined, error);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
catch (error) {
|
|
99
|
+
handler(undefined, undefined, error);
|
|
100
|
+
}
|
|
94
101
|
}
|
|
95
102
|
} }));
|
|
96
103
|
}
|
|
@@ -145,7 +152,14 @@ export class SessionClient extends BaseClient {
|
|
|
145
152
|
handler(planRunId, stepRunId, onTestStepRun, error);
|
|
146
153
|
}
|
|
147
154
|
catch (error) {
|
|
148
|
-
|
|
155
|
+
try {
|
|
156
|
+
if (encodedMessage.string()) {
|
|
157
|
+
handler(undefined, undefined, undefined, error);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
catch (error) {
|
|
161
|
+
handler(undefined, undefined, undefined, error);
|
|
162
|
+
}
|
|
149
163
|
}
|
|
150
164
|
} }));
|
|
151
165
|
}
|
package/package.json
CHANGED