If field type is not detected, self._get_field_type raise an exception. Maybe the solution could be something like:
try:
    field_type = self._get_field_type(key, value)
except:
    return