Giter Club home page Giter Club logo

Comments (9)

KnorpelSenf avatar KnorpelSenf commented on July 29, 2024 2

You're welcome :) No worries!

You can enable email notifications so you don't have to check manually

from grammy.

roj1512 avatar roj1512 commented on July 29, 2024 1

Closing per https://t.me/grammyjs/229944.

from grammy.

KnorpelSenf avatar KnorpelSenf commented on July 29, 2024 1

That's a really good idea actually

from grammy.

janek avatar janek commented on July 29, 2024

In my case the token was invalid because I accidentally appended a letter. It would have been ideal to get a "Token might be invalid" suggestion in the error, but I should have also figured it out from the 401.

from grammy.

KnorpelSenf avatar KnorpelSenf commented on July 29, 2024

This is already documented at https://grammy.dev/resources/faq#_401-unauthorized

from grammy.

janek avatar janek commented on July 29, 2024

@KnorpelSenf agreed, and I missed that - but what I meant now is in code. If it's clear that 401 means error is on the side of the user and token is invalid, then it would be safe and very helpful to put that in the error message (to make it more informative).

from grammy.

janek avatar janek commented on July 29, 2024

Nice, I'm glad you like it!

from grammy.

KnorpelSenf avatar KnorpelSenf commented on July 29, 2024

Please review #574 and approve it if these changes work for you

from grammy.

janek avatar janek commented on July 29, 2024

Thank you for adding and merging this, and listing me in contributors! 💟 That's so nice.

I'm sorry I didn't answer sooner, I don't check my GitHub notifications often enough

from grammy.

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.