change title
This commit is contained in:
@@ -19,4 +19,4 @@ def get_traceback(tb):
|
||||
|
||||
def notify_if_needed(exc):
|
||||
if type(exc) is not KeyboardInterrupt and TELEGRAM_TOKEN:
|
||||
bot.send_message(CHAT_ID, f"Ошибка на проекте YourGols.\nПодробности: \n{get_traceback(sys.exc_info()[2])}\n{str(exc)}")
|
||||
bot.send_message(CHAT_ID, f"Ошибка на проекте Platform.\nПодробности: \n{get_traceback(sys.exc_info()[2])}\n{str(exc)}")
|
||||
|
Reference in New Issue
Block a user