thecorecity / cognitum

A small Discord bot with statistics collection and useful utility features.
Apache License 2.0
13 stars 3 forks source link

Possible cause of the bot execution being halted in the middle of nowhere #163

Closed koloml closed 1 year ago

koloml commented 1 year ago

Describe the bug Catched possible error causing bot to stop any further execution. There is not traceback, only warning:

Dec 27 00:53:30 Core node[86474]: 2022-12-27T05:53:30.270Z [logsProcessor] warn: Unable to send message to the log channel!
Dec 27 00:53:30 Core node[86474]: 2022-12-27T05:53:30.270Z [logsProcessor] warn: Request aborted

To Reproduce Possibly trying to send messages into unavailable text channel.

Expected behavior Might need to notify owner about the error or just silently disable logging feature. Also, might be useful to print Guild ID and Channel ID.

Screenshots

koloml commented 1 year ago

Seems like it's not a cause of the issue. This log message is being displayed inside try...catch statement.