Lokal_Profil added a comment.

A quick fix might be to wrap the gen = call in a try and then catch any ValueError and replace it by something more descriptive?

On the other hand then one would have to parse the original error message to get the offending string out. You are right that it doesn't seem worth it. I would abandon that patch and mark this task as resolved.


TASK DETAIL
https://phabricator.wikimedia.org/T153592

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Magul, Lokal_Profil
Cc: Lokal_Profil, Dalba, Xqt, gerritbot, pywikibot-bugs-list, Aklapper, jayvdb, Magul, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Sn1per, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to