jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/370878 )
Change subject: Catch yet another exception ...................................................................... Catch yet another exception Change-Id: I57f1d52fdb46195046fd6cd6afa264b5622056cc --- M erfgoedbot/populate_image_table.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jean-Frédéric: Looks good to me, approved jenkins-bot: Verified diff --git a/erfgoedbot/populate_image_table.py b/erfgoedbot/populate_image_table.py index 9396f4a..45fa968 100644 --- a/erfgoedbot/populate_image_table.py +++ b/erfgoedbot/populate_image_table.py @@ -132,7 +132,7 @@ # All uppercase, same happens in other list # monumentId = monumentId.upper() return monumentId - except (UnicodeDecodeError, TypeError) as e: + except (UnicodeDecodeError, TypeError, IndexError) as e: raise CannotNormalizeException(e) -- To view, visit https://gerrit.wikimedia.org/r/370878 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I57f1d52fdb46195046fd6cd6afa264b5622056cc Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/heritage Gerrit-Branch: master Gerrit-Owner: Lokal Profil <lokal.pro...@gmail.com> Gerrit-Reviewer: Jean-Frédéric <jeanfrederic.w...@gmail.com> Gerrit-Reviewer: Multichill <maar...@mdammers.nl> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits