Giter VIP home page Giter VIP logo

Comments (6)

ovr avatar ovr commented on May 27, 2024

@lex111 is it you?)

from ghubber.

lex111 avatar lex111 commented on May 27, 2024

@ovr oops, it's me. Sorry about that.

It is called, took up the RN :(
How can I disable logging?

from ghubber.

lex111 avatar lex111 commented on May 27, 2024

I typed the fake url in Sentry.config, now there should not be such.. I wanted to do something, a little UI-improvement, but the attempt failed 😞

from ghubber.

lex111 avatar lex111 commented on May 27, 2024

Returning to the commin topic, I have these thoughts:

  1. Create a config file with the object, for example config.js, where there will be a key, like SENTRY_URL, this file will be ignored by Git, or as an alternative, store this information in an .env file (you need to decide what is best).
  2. Accordingly, if SENTRY_URL is not empty, initialize Sentry, but because in app, Sentry methods are used, then you need to check that the Sentry is initialized (available), so you might consider creating a wrapper over Sentry in the util folder, e.g., something like Logger.js? And can Sentry not be connect in the DEV environment?

from ghubber.

ovr avatar ovr commented on May 27, 2024

@lex111 I will think a little bit about this issue, thank you

from ghubber.

lex111 avatar lex111 commented on May 27, 2024

@ovr ...but write decision on the issue, I'll send PR! 😏

from ghubber.

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.