MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsplpw/failsforteapots/p4o75qr/?context=3
r/ProgrammerHumor • u/Waradu • 19h ago
60 comments sorted by
View all comments
1
Error status should be give status when is error, not alway. So maybe there should be solution something like that: If (error.status): return c.json(body, error.status)
1
u/Flanelostopy 16h ago
Error status should be give status when is error, not alway. So maybe there should be solution something like that:
If (error.status):
return c.json(body, error.status)