柴摩卡的双重回呼?

时间:2019-06-21 05:35:23

标签: node.js mocha chai

为什么会出现错误“双重回调!”

我不知道自己做了什么,但是现在有时候我出错了,而且不是每次都这样。 10次​​中有1次出现错误。

由詹金斯(Jenkins)发起。 这是两个可能出现错误“双重回调!”的块。

代码在这里:

pastebin.com/ViBLZptS

我在詹金斯日志中出错:

  

04:08:00 [用户addLocationMember]
  04:08:00 {错误:连接ETIMEDOUT 13.82.204.114:443
  04:08:00 at Object._errnoException(util.js:992:11)
  04:08:00 at _exceptionWithHostPort(util.js:1014:20)
  04:08:00在TCPConnectWrap.afterConnect [完成时](net.js:1186:14)
  04:08:00代码:“ ETIMEDOUT”,
  04:08:00 errno:“ ETIMEDOUT”,
  04:08:00 syscall:'connect',
  04:08:00地址:“ 13.82.204.114”,
  04:08:00端口:443,
  04:08:00回应:未定义}
  04:08:00两次回调!
  04:08:00 [用户addLocationMember]

0 个答案:

没有答案