How to refactor this function to get the correct error message in the catch block?

后端 未结 0 473
谎友^
谎友^ 2020-12-14 14:07

so I have this

        try {
            const user = await logUserInToApplication({ email, password })
            console.log(user, \'usr\')
            awa         


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