chr-1x / ananas

The Python Bot Framework for Mastodon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make error reporting configurable

fwenzel opened this issue · comments

I run a number of bots and when they error out, which happens pretty regularly due to network flakiness etc, they keep sending DMs that I cannot even delete without logging in as the bot and removing them.

Would be great if that could be redirected into a logfile or even as email and I can filter it there. I am not sure just because it is a mastodon bot that DMing error messages is the best thing.

Bot should always log to a file (bot name + ".log" in the working directory) and admin field in the config can be left blank. Does that cover your use case?

I think so! Will give it a shot. Thanks!