Giter Site home page Giter Site logo

Comments (7)

amro avatar amro commented on July 1, 2024

I think MailChimp was DDOS'd yesterday. That may have caused this.

What's your proposed solution? Rescue and reraise as a Gibbon typed exception?

from gibbon.

dmitryn avatar dmitryn commented on July 1, 2024

@amro right. I think raising MailChimpError will work here. Not sure what the error message and code should be though.

from gibbon.

amro avatar amro commented on July 1, 2024

Sorry for the delay. I agree. I'll do this as time permits but give me a few days, please.

from gibbon.

dmitryn avatar dmitryn commented on July 1, 2024

@amro sure. It's not urgent. Thanks.

from gibbon.

amro avatar amro commented on July 1, 2024

Gibbon users can opt to do their own error checking so what I've done is rescue MultiJson::ParserError and return an error hash similar to what MailChimp does.

If the user has opted to check for errors manually, their code will now work instead of blow up.

If they've opted to let Gibbon raise errors, their rescue block will catch Gibbon::MailChimpError and their code will also work instead of blowing up.

What do you think of this solution?

from gibbon.

dmitryn avatar dmitryn commented on July 1, 2024

@amro i think it's a good solution.

from gibbon.

amro avatar amro commented on July 1, 2024

Cool. I'll release this a contribution from someone else now.

from gibbon.

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.