Skip to content

Commit 528a1dc

Browse files
committed
Remove stack trace from log messages
1 parent 8f95df0 commit 528a1dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/purejava/appindicator/RuntimeHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class RuntimeHelper {
3030
LOG.debug("Native code library appindicator3 successfully loaded");
3131
isLoaded = true;
3232
} catch (UnsatisfiedLinkError e) {
33-
LOG.error("Native code library failed to load.\n", e);
33+
LOG.info("Native code library appindicator3 failed to load");
3434
}
3535
SymbolLookup loaderLookup = SymbolLookup.loaderLookup();
3636
SYMBOL_LOOKUP = name -> loaderLookup.find(name).or(() -> LINKER.defaultLookup().find(name));

src/test/java/org/purejava/appindicator/AppIndicatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void shouldHaveNoErrors() {
1919
System.loadLibrary("appindicator3");
2020
LOG.debug("Native code library appindicator3 successfully loaded");
2121
} catch (UnsatisfiedLinkError e) {
22-
LOG.error("Native code library failed to load.\n", e);
22+
LOG.info("Native code library appindicator3 failed to load");
2323
}
2424
}
2525
}

0 commit comments

Comments
 (0)