How to make sure some JavaScript code executes only if the async/await database insertion was successful?

后端 未结 0 1062
感情败类
感情败类 2021-01-19 11:00

I have a back-end function which takes care of product creation. Right now, the function does its job perfectly, but it has zero error handling and I\'m trying to figure how

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