Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nubuki-all committed Dec 15, 2024
1 parent 4fb3cde commit 9671956
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bot/utils/msg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_expanded_chats(chats):
async def send_rss(msg: str, chat_ids: list = None):
try:
chats = (
[chat_ids] if isinstance(chat_ids, int) else chat_ids
[chat_ids] if not isinstance(chat_ids, list) else chat_ids
) # backward compatibility
for chat in get_expanded_chats(chats):
top_chat = chat.split(":")
Expand Down
2 changes: 2 additions & 0 deletions bot/utils/rss_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ async def rss_monitor():
log(e=f"Feed Name: {title}")
log(e=f"Last item: {last_link}")
except Exception as e:
# debug
log(Exception)
log(e=f"{e} - Feed Name: {title} - Feed Link: {data['link']}")
continue
await rm_pause("rss")
Expand Down

0 comments on commit 9671956

Please sign in to comment.