Skip to content

Commit 646d9f7

Browse files
committed
Steven's comment to change the log message for failed registration
1 parent b66e891 commit 646d9f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/main/java/org/apache/iceberg/formats/FormatModelRegistry.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ private static void registerSupportedFormats() {
208208
DynMethods.builder("register").impl(classToRegister).buildStaticChecked().invoke();
209209
} catch (NoSuchMethodException e) {
210210
// failing to register a factory is normal and does not require a stack trace
211-
LOG.info("Unable to register {}: {}", classToRegister, e.getMessage());
211+
LOG.info(
212+
"Skip registration of {}. Likely the jar is not in the classpath", classToRegister);
212213
}
213214
}
214215
}

0 commit comments

Comments
 (0)