Giter Site home page Giter Site logo

Comments (2)

cdepillabout avatar cdepillabout commented on June 8, 2024 1

I think this is caused by the same reason as #27.

When I looked into it a couple months ago, this was caused by servant-client swallowing up all non-2XX HTTP responses. In #27, I linked to a modified version of servant-client that does not swallow up non-2XX HTTP response (but of course this is not officially supported).

If you want to use servant-checked-exceptions with servant-client, you can't return non-2XX HTTP responses from your server.

Since this has bitten at least two people now, it would be good to add it to the servant-checked-exceptions README as a known bug. Would you be able to send a PR for this?

Also, if you wanted to create an issue on the Servant repo about this, I'd do whatever is necessary to provide support in servant-checked-exceptions after it is fixed in Servant.


I'll go ahead and close this since is it a duplicate of #27, but feel free to continue the conversation on #27 if you have any additional questions.

from servant-checked-exceptions.

jonathanknowles avatar jonathanknowles commented on June 8, 2024

@cdepillabout Many thanks for your response. You're right that it's a duplicate of #27.

I'll add any further comments to #27.

from servant-checked-exceptions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.