Giter Site home page Giter Site logo

Comments (2)

matthewelwell avatar matthewelwell commented on July 29, 2024

Hi @euprogramador, would you be able to send a bit more information please? For example, I'm not sure what you mean by "frontend breaks and does not start". Could you send any errors, etc. that you're getting please?

I'm a little confused by your report since the frontend doesn't rely on the GOOGLE_SERVICE_ACCOUNT environment variable, only the BE does and it is indeed optional (you can see the code to handle it here).

Also, would you be able to confirm that you're running the latest version of the FE code, since I can see that the FE is designed to handle an error on this endpoint. You can see that code here.

from flagsmith-frontend.

kyle-ssg avatar kyle-ssg commented on July 29, 2024

I think to Add to @matthewelwell's point. Indeed the frontend does need a valid setup for this to provide usage stats, however this is totally non-breaking and does not crash the frontend by any means.

For example this is what would happen if we switch out the usage endpoint for any breaking url, the frontend silently catches this for this exact reason as we don't want to be reliant on this as Google Analytics has been flaky in the past.

The worst that would happen is that you aren't provided with usage stats as can be seen here:

image.

I'd suggest check that you are running both the latest frontend and backend and reopen this issue with replication steps.

from flagsmith-frontend.

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.