Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Descriptive Errors (Part 2/2) #299

Conversation

KtorZ
Copy link
Member

@KtorZ KtorZ commented May 21, 2019

Issue Number

#260

Overview

  • I have created a small middleware to remap raw servant responses that are sent by servant before reaching our application layer.
  • I have used / mounted the aforementioned middleware
  • I have provided more extensive error messages in case of failures directly handled by servant (wrong endpoint, invalid media types, etc ...)

Comments

⚠️ base branch is KtorZ/260/more-descriptive-errors ⚠️

@KtorZ KtorZ force-pushed the KtorZ/260/more-descriptive-errors-part2 branch from a70c4ef to 4c054e7 Compare May 22, 2019 10:37
@KtorZ KtorZ force-pushed the KtorZ/260/more-descriptive-errors branch from 726f969 to 04ec30f Compare May 22, 2019 10:38
@KtorZ KtorZ merged commit 6223bce into KtorZ/260/more-descriptive-errors May 22, 2019
@KtorZ KtorZ deleted the KtorZ/260/more-descriptive-errors-part2 branch May 22, 2019 11:44
opt9 pushed a commit to opt9/cardano-sl that referenced this pull request Dec 16, 2019
4064: Preserve query and fragment part of the URI while redirecting for relative paths (swagger doc) r=KtorZ a=Anviking

## Description

<!--- A brief description of this PR and the problem is trying to solve -->

Ported from cardano-wallet c49e93a350e8294a380385258b9232df2d00ac20 to
- lib/src/Pos/Util/Swagger.hs (for the node monitoring api docs)
- wallet/src/Cardano/Wallet/API/V1/Swagger.hs (for the wallet docs)

### Todo:
- [x] Update changelog
- [x] Fill in QA

## Linked issue

cardano-foundation/cardano-wallet#299



Co-authored-by: Johannes Lund <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant