Websocket(ws) nodejs handle error “ENOTFOUND ”

前端 未结 0 1203
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-11 04:44

How to handle the error: Error: getaddrinfo ENOTFOUND unexistantwebsite.com with the node package Websocket(Ws) without making the app crashing ?

I just trye

相关标签:
回答
  • 消灭零回复
提交回复
热议问题