winget-run / api

winget.run rest api
46 stars 4 forks source link

Return correct http codes on errors #79

Closed Dragon1320 closed 2 years ago

Dragon1320 commented 4 years ago

Some routes, such as GET /v2/packages return 500 errors where they should be 4xx codes. Investigate if this also happens for other routes and fix it.

NOTE: I might add another issue regarding error handling in general cos it could be much better.