Skip to content

Empty error message in some code paths #3906

@steve-chavez

Description

@steve-chavez

One last concern, we are still using NotFound error in a couple places, which returns an empty error json:

toJSON NotFound = JSON.object []

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)

Metadata

Metadata

Assignees

Labels

difficulty: beginnerPure Haskell taskhygienecleanup or refactoringmessagesuser-facing error/informative messages

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions