Fix compilation errors

This commit is contained in:
Andreas Dangel committed 2022-02-19 11:12:50 +01:00
1 parent c2fd65c452
commit 1a0a2d3778
1 file changed
+2 -2
@@ -118,8 +118,8 @@ public final class CPDCommandLineInterface {
setStatusCodeOrExit(NO_ERRORS_STATUS);
}
} catch (IOException | RuntimeException e) {
e.printStackTrace();
LOGGER.severe(CliMessages.errorDetectedMessage(1, "CPD"));
LOG.debug(e.toString(), e);
LOG.error(CliMessages.errorDetectedMessage(1, "CPD"));
setStatusCodeOrExit(ERROR_STATUS);
}
}