Lokal Profil has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage 
refs/changes/78/370878/1

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: newchange
Gerrit-Change-Id: I57f1d52fdb46195046fd6cd6afa264b5622056cc
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <lokal.pro...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to