diff --git a/bot/__main__.py b/bot/__main__.py index 7bc8ce10ca..e460fa63c4 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -284,12 +284,11 @@ def log(update, context): try: help_user = telegraph.create_page( - title='{TITLE_NAME} HELP', + title=f'{TITLE_NAME} HELP', content=help_string_telegraph_user, )["path"] except Exception as err: - LOGGER.warning(f"{err}") - pass + LOGGER.warning(f"Telegraph Error: {err}") help_string_telegraph_admin = f''' @@ -320,12 +319,11 @@ def log(update, context): try: help_admin = telegraph.create_page( - title='{TITLE_NAME} HELP', + title=f'{TITLE_NAME} HELP', content=help_string_telegraph_admin, )["path"] except Exception as err: - LOGGER.warning(f"{err}") - pass + LOGGER.warning(f"Telegraph Error: {err}") def bot_help(update, context): button = ButtonMaker()