代码明明是指定了的env,但是生产环境依然报错,报错信息如下:
返回结果
{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"errCode: -501001 resource system error | errMsg: envname field not exsit in url; \nError: errCode: -501001 resource system error | errMsg: envname field not exsit in url; \n at Object.returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6052:16)\n at Object.checkError (/var/user/node_modules/wx-server-sdk/index.js:1378:23)\n at Promise (/var/user/node_modules/wx-server-sdk/index.js:1114:33)\n at \u003canonymous\u003e\n at process._tickCallback (internal/process/next_tick.js:188:7)"}
同问,这几天频繁报错