Try and Catch throws error but .then works?

后端 未结 0 363
忘掉有多难
忘掉有多难 2020-11-29 10:27

My try and error block fails with UnhandledPromiseRejectionWarning: Error: Request failed with status code 500 but if i convert that to then & catch block i

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