Mpaa added a subscriber: Mpaa. Mpaa added a comment.
Regarding the first point, the bot crashes because the page is a redirect, not because it is a Category. I was not able to reproduce it. And it is quite strange it reaches line 1455 as it should be caught by line 1320:
1320 elif page.isRedirectPage() or page.isCategoryRedirect(): ... continue
TASK DETAIL https://phabricator.wikimedia.org/T89809
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: Mpaa, JAnD, Aklapper, jayvdb, pywikipedia-bugs