GithubHelp home page GithubHelp logo

Comments (6)

niftylettuce avatar niftylettuce commented on May 22, 2024

@haseebnaseem can you provide an example to reproduce the error you have?

did you see the docs and how you can catch res.err? if there's a network error there's not much else we can do. please provide a reproducible test case or more information please.

from frisbee.

niftylettuce avatar niftylettuce commented on May 22, 2024

you can also use Chrome Developer Tools and view the Network tab, then make a request and it should show their for you to inspect headers/request/response.

from frisbee.

haseebnaseem avatar haseebnaseem commented on May 22, 2024

from frisbee.

OmgImAlexis avatar OmgImAlexis commented on May 22, 2024

@haseebnaseem not all of that can be accessed via the APIs frisbee uses. The same goes for other libs like this. The browser doesn't expose enough information in order for Frisbee to know what the reason was for the network not being there.

It could be a proxy setting that's blocking it, your wifi could have dropped, your internet could be slow, it could be the other end's connection, it could be your ISP is having issues with the site, it could be the edge server like Cloudflare is having issues, most of those all return the same error to us.

from frisbee.

haseebnaseem avatar haseebnaseem commented on May 22, 2024

I understand that. Is there a way to handle network errors ? I am trying to use an interceptor by intentionally shutting down the api and the interceptors catches the error in the responseError function but even the api is back up again, the responseError function triggers.

from frisbee.

niftylettuce avatar niftylettuce commented on May 22, 2024

yeah wrap with a try/catch?

from frisbee.

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.