Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit ee6e373

Browse files
author
Rob Rudin
committed
#38 One more tweak - no need to log the stacktrace for static check errors, the error message suffices
1 parent 5c0dd3f commit ee6e373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/marklogic/client/modulesloader/impl/DefaultModulesLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ protected void loadAssets(Modules modules, Set<File> loadedModules) {
283283
staticChecker.checkLoadedAssets(list);
284284
} catch (RuntimeException ex) {
285285
if (catchExceptions) {
286-
logger.warn("Static check failure: " + ex.getMessage(), ex);
286+
logger.error("Static check failure: " + ex.getMessage());
287287
} else {
288288
throw ex;
289289
}

0 commit comments

Comments
 (0)