Don't use logging.error for warning messages.
We use a consistent logging scheme:
error is for cases where we have to abort,
warning is for cases where we continue.
This was the only place that used logging.error for a warning in the
table-generator.
@@ -281,7 +281,7 @@ class Column(object):
else:
self.type = result
except util.TableDefinitionError as e:
- logging.error("Column type couldn't be determined: %s", e)
+ logging.warning("Column type couldn't be determined: %s", e)
self.type = ColumnType.text
if not self.is_numeric():
