GITLAB
Eric Fernandez
/ websocketBO
Toggle navigation
Sign in
Sign in
Activity
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
756dc8903e57dd2529ba151cb6daeff9c0e2594f
Authored by
Eric Fernandez
2019-06-21 14:59:11 -0300
1 parent
e746ae7395
Exists in
master
client on error
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
index.js
Side-by-side Diff
Inline Diff
index.js
Diff comments
View file @
756dc89
...
...
@@ -27,4 +27,8 @@ client.on('open', function open() {
27
27
});
28
28
});
29
29
30
+client.on('error', function(e) {
31
+ console.log(e);
32
+})
33
+
30
34
console.log('Sevice connected to wsServer: ' + config.urlHO);