Skip to content

Commit d31f496

Browse files
committed
More debugging
1 parent 8899ddc commit d31f496

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbTaskListener.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public void finished(TaskEvent e) {
7171
new CompilationUnitException(
7272
String.valueOf(e.getSourceFile().toUri().toString()), throwable);
7373
}
74+
throwable.printStackTrace(System.out);
7475
reporter.exception(throwable, e.getCompilationUnit(), e.getCompilationUnit());
7576
throw new RuntimeException(ex.getMessage(), throwable);
7677
}
@@ -97,6 +98,7 @@ private void writeSemanticdb(TaskEvent event, Path output, Semanticdb.TextDocume
9798
Files.createDirectories(output.getParent());
9899
Files.write(output, bytes);
99100
} catch (IOException e) {
101+
e.printStackTrace(System.out);
100102
reporter.exception(e, event.getCompilationUnit(), event.getCompilationUnit());
101103
}
102104
}

0 commit comments

Comments
 (0)