Skip to content

Commit 615b346

Browse files
committed
Add native library name to logs
1 parent 1befabc commit 615b346

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • common/src/main/java/dev/ryanhcode/sable/physics/impl/rapier

common/src/main/java/dev/ryanhcode/sable/physics/impl/rapier/Rapier3D.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ private static void loadLibrary() {
5656
final String nativeName = getNativeName();
5757
try (final InputStream is = Rapier3D.class.getResourceAsStream("/natives/" + LIB_NAME + "/" + nativeName)) {
5858
if (is == null) {
59-
Sable.LOGGER.error("Sable has failed to find the natives needed to load its Rapier pipeline. Please report with system details and logs to " + Sable.ISSUE_TRACKER_URL);
6059
throw new FileNotFoundException(LIB_NAME);
6160
}
6261

@@ -67,7 +66,7 @@ private static void loadLibrary() {
6766
} catch (final Throwable t) {
6867
ENABLED = false;
6968

70-
Sable.LOGGER.error("Sable has failed to load the natives needed for its Rapier pipeline. Please report with system details and logs to " + Sable.ISSUE_TRACKER_URL);
69+
Sable.LOGGER.error("Sable has failed to load the natives needed for its Rapier pipeline. Native library name {}. Please report with system details and logs to {}", nativeName, Sable.ISSUE_TRACKER_URL);
7170
}
7271
}
7372

0 commit comments

Comments
 (0)