mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
accidentaly deleted error handle in earlier commit
This commit is contained in:
parent
230f6fdeac
commit
4da5d9933f
4
bot.py
4
bot.py
@ -68,6 +68,10 @@ def dividend(bot, update):
|
|||||||
text=reply, parse_mode=telegram.ParseMode.MARKDOWN
|
text=reply, parse_mode=telegram.ParseMode.MARKDOWN
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def error(bot, update, error):
|
||||||
|
"""Log Errors caused by Updates."""
|
||||||
|
logger.warning('Update "%s" caused error "%s"', update, error)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""Start the bot."""
|
"""Start the bot."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user