Skip to content

Commit 06ba91d

Browse files
committed
Log patches causing exceptions in the analysis
1 parent bceb1d6 commit 06ba91d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/main/java/org/variantsync/diffdetective/analysis

src/main/java/org/variantsync/diffdetective/analysis/Analysis.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ protected void processCommit() throws Exception {
450450
}
451451

452452
processPatch();
453+
} catch (Throwable t) {
454+
Logger.error("error during {} {}", currentPatch.getFileName(), currentPatch.getCommitHash());
455+
throw t;
453456
} finally {
454457
runReverseHook(patchHook, Hooks::endPatch);
455458
}

0 commit comments

Comments
 (0)