云函数加上await立即报Unexpected identifier
- 当前 Bug 的表现(可附上截图)
测试结果:失败
返回结果:
{"errorCode":10004,"errorMessage":"user code exception caught","stackTrace":"Unexpected identifier"}
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
返回结果:
{"errorCode":10004,"errorMessage":"user code exception caught","stackTrace":"Unexpected identifier"}