Catch and ignore failure of serve, we already handled somewhere else.

This commit is contained in:
NI committed 2019-09-09 22:04:51 +08:00
1 parent f2438e490f
commit 588118cf3c
1 file changed
+1 -1
+1 -1
View File
@@ -319,7 +319,7 @@ export class Socket {
}
});
streamHandler.serve();
streamHandler.serve().catch(() => {});
callbacks.connected();