Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Better error messages #81

Closed

Conversation

mgajda
Copy link

@mgajda mgajda commented Jul 4, 2021

Some predicates report Nothing as a cause of failed test.
To improve them I added another case alternative if exception happens, and join to unwrap Maybe (Maybe ...).

Fixed #69.

phadej and others added 23 commits October 15, 2018 21:13
Support servant-0.16 and http-media-0.8
There are no changes since the tag in the src/
…nts-for-GHC-8.10

Relax constraints for GHC 8.10
…t-servant-0.18

Support servant-server-0.18
@mgajda mgajda force-pushed the michal/better-error-messages branch 2 times, most recently from acd1085 to fd8174a Compare July 4, 2021 21:54
Avoids printing `Nothing` for many `serverSatisfiesMgr`.
If the predicate failure is reported as `Just Nothing`,
it shows full exception.
@mgajda mgajda force-pushed the michal/better-error-messages branch from fd8174a to ede14d6 Compare July 4, 2021 21:55
@tchoutri tchoutri closed this Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No output on Failed predicate