小程序连接WS,接口401报错,但是回调走到了success?


如图,小程序连接ws,由于数据问题,ws连接失败,返回401未授权错误,但是回调确走到了success函数中,明显不对。并且返回的socket task 对象竟然也有值。
请官方大大确认一下这个bug。谢谢
1 回复
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)