Permalink
Browse files

improved logging for stubs

this way we can track them down by id when they are unexpected
  • Loading branch information...
mschoch committed Dec 13, 2012
1 parent 3694d52 commit 1fa535c7d1b38abc51d4f70755c67e4b76d5d000
@@ -185,7 +185,7 @@ public boolean ensureFullCommit(String database) {
// now try to parse the decoded data as json
json = (Map<String, Object>) mapper.readValue(decodedData, Map.class);
} catch (IOException e) {
- logger.warn("Unable to parse decoded base64 data as JSON, indexing stub...");
+ logger.warn("Unable to parse decoded base64 data as JSON, indexing stub for id: {}", meta.get("id"));
json = new HashMap<String, Object>();
}
}

0 comments on commit 1fa535c

Please sign in to comment.