Skip to content

Commit

Permalink
improved logging for stubs
Browse files Browse the repository at this point in the history
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 1fa535c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public List<Object> bulkDocs(String database, List<Map<String, Object>> docs) {
// 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>();
}
}
Expand Down

0 comments on commit 1fa535c

Please sign in to comment.