Coder Social home page Coder Social logo

Comments (4)

logaretm avatar logaretm commented on May 26, 2024 1

What kind of errors are you looking to catch? fetch exceptions? If you could create an example that would be great, you can use codesandbox

from villus.

logaretm avatar logaretm commented on May 26, 2024 1

Fixed in @villus/batch release rc.3

from villus.

zigomir avatar zigomir commented on May 26, 2024

@logaretm yes, fetch exceptions. This is the reproduction repository and this is codesandbox.

Codesandbox isn't perfect environment for reproduction, because you need to set network=offline in Chrome dev tools while checking the console.

I explain the issue in https://github.com/zigomir/villus-batch/blob/master/src/main.js#L9-L11 and https://github.com/zigomir/villus-batch/blob/master/src/main.js#L29

I'd expect to get response.error back, like without batch plugin. But instead you get Uncaught (in promise) error.

If you want, I can try to fix this, but might need some guidance along the way.

from villus.

zigomir avatar zigomir commented on May 26, 2024

@logaretm works great, thank you very much 💯

from villus.

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.