chore: use withCause for logging
@@ -244,7 +244,7 @@ public abstract class AbstractJavacWrapper {
try {
return Integer.parseInt(s);
} catch (NumberFormatException err) {
- logger.atWarning().log("Invalid KYTHE_JAVA_SOURCE_BATCH_SIZE: %s", err);
+ logger.atWarning().withCause(err).log("Invalid KYTHE_JAVA_SOURCE_BATCH_SIZE");
return null;
}
});
