A telegram bot responsible for curating & filtering posts according to specified criteriia from various social listings.
0
stars
0
forks
source link
`artbutler` main thread stops after some tokio-workers crash. Something to do with the main channel's poisoning #12
Closed
mcctor closed 1 year ago
Apr 24 05:23:06 PM INFO artbutler::curator > No new post since last poll for
r/memes
, increased wait interval to 32s Apr 24 05:23:09 PM thread 'tokio-runtime-worker' panicked at 'calledOption::unwrap()
on aNone
value', src/telegram.rs:42:67 Apr 24 05:23:32 PM INFO artbutler::curator > No new post since last poll forr/earthporn
, increased wait interval to 32s Apr 24 05:23:38 PM INFO artbutler::curator > 1 new post(s) found forr/memes
! Resetting wait interval Apr 24 05:23:39 PM INFO artbutler::curator > No new post since last poll forr/memes
, increased wait interval to 2s Apr 24 05:23:41 PM INFO artbutler::curator > No new post since last poll forr/memes
, increased wait interval to 4s Apr 24 05:23:42 PM INFO artbutler::telegram > Forwarded PostID: '12xhh23' to UserID: '459911024' Apr 24 05:23:45 PM INFO artbutler::curator > No new post since last poll forr/memes
, increased wait interval to 8s Apr 24 05:23:53 PM thread 'main' panicked at 'TX is dead: SendError(Update { id: 434000856, kind: Message(Message { id: MessageId(14440), thread_id: None, date: 2023-04-24T14:23:53Z, chat: Chat { id: ChatId(459911024), kind: Private(ChatPrivate { username: Some("mcctor"), first_name: Some("Mark"), last_name: None, emoji_status_custom_emoji_id: None, bio: None, has_private_forwards: None, has_restricted_voice_and_video_messages: None }), photo: None, pinned_message: None, message_auto_delete_time: None, has_hidden_members: false, has_aggressive_anti_spam_enabled: false }, via_bot: None, kind: Common(MessageCommon { from: Some(User { id: UserId(459911024), is_bot: false, first_name: "Mark", last_name: None, username: Some("mcctor"), language_code: Some("en"), is_premium: true, added_to_attachment_menu: false }), sender_chat: None, author_signature: None, forward: None, reply_to_message: None, edit_date: None, media_kind: Text(MediaText { text: "/listen art new", entities: [MessageEntity { kind: BotCommand, offset: 0, length: 7 }] }), reply_markup: None, is_topic_message: false, is_automatic_forward: false, has_protected_content: false }) }) })', /opt/render/project/.cargo/registry/src/github.com-1ecc6299db9ec823/teloxide-0.12.2/src/dispatching/dispatcher.rs:4