Empty error message in some code paths #3906
Labels
difficulty: beginner
Pure Haskell task
hygiene
cleanup or refactoring
messages
user-facing error/informative messages
One last concern, we are still using
NotFound
error in a couple places, which returns an empty error json:postgrest/src/PostgREST/ApiRequest/Types.hs
Line 82 in e2dd435
postgrest/src/PostgREST/Error.hs
Line 135 in e2dd435
This seems fine for now, but maybe should be improved later (add error msg, details etc) for better UX?
Originally posted by @taimoorzaeem in #3869 (comment)
The text was updated successfully, but these errors were encountered: