Browse Source

log err

bugfix/timeout-logging
Evan Feenstra 5 years ago
parent
commit
f8af5e111f
  1. 4
      api/utils/socket.ts
  2. 3
      dist/api/utils/socket.js
  3. 2
      dist/api/utils/socket.js.map

4
api/utils/socket.ts

@ -16,6 +16,10 @@ function connect(server) {
// io.sockets.send('{"try":"try"}')
// client.send('{"try":"try"}')
});
io.on('error', error => {
console.log(error)
})
}
const send = (body) => {

3
dist/api/utils/socket.js

@ -14,6 +14,9 @@ function connect(server) {
// io.sockets.send('{"try":"try"}')
// client.send('{"try":"try"}')
});
io.on('error', error => {
console.log(error);
});
}
exports.connect = connect;
const send = (body) => {

2
dist/api/utils/socket.js.map

@ -1 +1 @@
{"version":3,"file":"socket.js","sourceRoot":"","sources":["../../../api/utils/socket.ts"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAEtC,IAAI,EAAO,CAAA;AAEX,SAAS,OAAO,CAAC,MAAM;IACrB,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEtB,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE;QAC3B,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QACxC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,GAAW,CAAC,CAAC,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE,GAAW,CAAC,CAAC,CAAC;QAE3C,UAAU,CAAC,GAAE,EAAE;YACb,MAAM,CAAC,IAAI,CAAC,SAAS,EAAC,QAAQ,CAAC,CAAA;QACjC,CAAC,EAAC,IAAI,CAAC,CAAA;QACP,mCAAmC;QACnC,+BAA+B;IACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAcC,0BAAO;AAZT,MAAM,IAAI,GAAG,CAAC,IAAI,EAAE,EAAE;IACpB,4BAA4B;IAC5B,uBAAuB;IACvB,KAAK;IACL,EAAE,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