We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1efe7 commit 2750992Copy full SHA for 2750992
client/client.js
@@ -157,7 +157,12 @@ class Channel extends Object {
157
158
on_end() {
159
debug(` :> ${this.id} end`);
160
- this.request.end();
+ if (this.request) {
161
+ this.request.end();
162
+ } else {
163
+ warning(`Received end before I was able to create a request.`);
164
+ setTimeout(()=>console.log(`Request: ${this.request}`), 100);
165
+ }
166
}
167
168
onHttpData(chunk) {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "karmen_ws",
3
- "version": "1.0.3",
+ "version": "1.0.4",
4
"description": "",
5
"main": "client",
6
"scripts": {
0 commit comments