Skip to content

Commit d9a13bc

Browse files
committed
Add more logging statements for DAT
1 parent 8109d8c commit d9a13bc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/dat/GridSearch.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,11 @@ private Diff makeDiff(Matcher matcher, GumtreeProperties properties) {
197197
return new Diff(leftContext, rightContext, mappings, actions);
198198
}
199199
catch (Exception e) {
200-
System.out.println("bug3");
200+
logger.error("bug3");
201+
logger.error(properties.toString());
202+
logger.error(info.makeURL());
203+
logger.error(rmDiff.getSrcPath());
204+
logger.error(e.getMessage());
201205
logger.error("Error in makeDiff", e);
202206
throw new RuntimeException(e);
203207
}

0 commit comments

Comments
 (0)