andymckay/zamboni — comment on commit 92a7f424c06bbd6f1f1b08f8b00eaf669445bafa
File: services/verify.py line 58
By kumar303:

Subscripts and powers are going to throw more exceptions here and hackers love those :) This might be a good time to ``except Exception:`` and just fully log it. Example:

>>> c = u'⁶'
>>> int(c)
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'decimal' codec can't encode character u'\u2076' in position 0: invalid decimal Unicode string