Coder Social home page Coder Social logo

Improve logging about glewlwyd HOT 2 CLOSED

babelouest avatar babelouest commented on August 24, 2024 1
Improve logging

from glewlwyd.

Comments (2)

babelouest avatar babelouest commented on August 24, 2024

I agree, an optional property should be optional indeed. I've added this recently after a feature request but I don't need it myself, so I didn't fully tested all the use cases, and the default configuration is confusing.

In you case, if you don't need this feature, i.e. you don't need an additional key/value in your access tokens, you can comment the line where the additional_property_name value is set, or leave the value blank (""), this will disable the additional property in Glewlwyd.

Concerning the log level, it's by design that I don't leave DEBUG messages in the releases, I prefer having explicit error messages that will help me pointing out where the problem is, without fllooding the user with unncessary debug messages.

In your case, the response body was enough to figure out how to fix, I'll fix the front-end though, so the error 400 can't even be reached. But to me that's another reason not to let cryptic debug messages in the application ;)

from glewlwyd.

babelouest avatar babelouest commented on August 24, 2024

Although, thanks for the compliment, it's very much appreciated :)

from glewlwyd.

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.