Nestjs catch 500 error and return the error

后端 未结 0 1349
挽巷
挽巷 2020-12-29 06:09

When an unhandled error occurs, the front side gets a 500 error without any information about the error. It just receive this:

{
  "statusCode": 500         


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