Updated non-json message

This commit is contained in:
Joshua Harlow 2014-01-10 17:38:54 -08:00
parent 5a583aa1df
commit 62013d8788
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ class MetadataMaterializer(object):
# Assume it's json, unless it fails parsing...
return json.loads(blob)
except (ValueError, TypeError) as e:
LOG.warn("Field %s looked like json, but it was not: %s",
field, e)
LOG.warn("Field %s looked like a json object, but it was"
" not: %s", field, e)
if blob.find("\n") != -1:
return blob.splitlines()
return blob