change example to log actual error
This commit is contained in:
parent
591d5fff40
commit
78edb3200e
|
@ -28,5 +28,5 @@ connection.on('connect', function(data) {
|
||||||
|
|
||||||
connection.on('error', function(err) {
|
connection.on('error', function(err) {
|
||||||
// boo! :(
|
// boo! :(
|
||||||
console.log('poop');
|
console.log(err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue