rossmcdonald / telegram_hook Goto Github PK
View Code? Open in Web Editor NEWA Telegram log hook for the Logrus logging framework
License: MIT License
A Telegram log hook for the Logrus logging framework
License: MIT License
authorization to boot is ok but following error appear
Unable to send message, Received error response from Telegram API (error code 400): Bad Request: chat not foundFailed to fire hook: Received error response from Telegram API (error code 400): Bad Request: chat not found
Yep, I see the telegram token in the instruction but there is many token in the telegram api. Don't know what to use. And so great if there is any example.
Thank you,
Hello, I'm just opening this issue to let you know, the next release of logrus (v1.2.0) will add a new trace level named Trace below Debug.
Here is the PR for reference sirupsen/logrus#844
You may want to take into account this new level.
logrus.WithError(err).Error("whatever")
doesn't include the value of err in the message on Telegram:
ERROR@MyBot - whatever
{
"error": {}
}
It's probably because the json marshaller isn't recursing into it for whatever reason... I'll probably try to take a look at this at some point.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.