diff --git a/src/main/java/com/marklogic/client/modulesloader/impl/DefaultModulesLoader.java b/src/main/java/com/marklogic/client/modulesloader/impl/DefaultModulesLoader.java index 897aa1b48..0620166c3 100644 --- a/src/main/java/com/marklogic/client/modulesloader/impl/DefaultModulesLoader.java +++ b/src/main/java/com/marklogic/client/modulesloader/impl/DefaultModulesLoader.java @@ -283,7 +283,7 @@ protected void loadAssets(Modules modules, Set loadedModules) { staticChecker.checkLoadedAssets(list); } catch (RuntimeException ex) { if (catchExceptions) { - logger.warn("Static check failure: " + ex.getMessage(), ex); + logger.error("Static check failure: " + ex.getMessage()); } else { throw ex; }