Xqt added a comment.
See https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/2d2a818c10689187439b681aee73f542effb36d2/pywikibot/proofreadpage.py The whole loop in line 603 has finished after 5 retried but the code must not continue with line 621 which is noted in trackback above it must just return with the other failing exception inside the while loop like: for retries in range(5): try: read the data except Exception1: return values for this except Exception2: pass else: break else: return values for Exception2 continue the method TASK DETAIL https://phabricator.wikimedia.org/T243644 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: srishakatux, Aklapper, Xqt, pywikibot-bugs-list, Chaytanya, Zkhalido, Viztor, DannyS712, Wenyi, Kieubinhtb, Guilhermebm, Mh-3110, Asad_Ali_Palijo, Lahi, Soteriaspace, RazeSoldier, JakeTheDeveloper, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, D3r1ck01, Altostratus, Avicennasis, MuhammadShuaib, Tmalhotra, SimmeD, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
