Skip to content

Commit 1befabc

Browse files
committed
Improve rapier native error logging
1 parent 381142c commit 1befabc

1 file changed

Lines changed: 1 addition & 1 deletion

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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private static void loadLibrary() {
6464
Files.copy(is, tempFile, StandardCopyOption.REPLACE_EXISTING);
6565
System.load(tempFile.toAbsolutePath().toString());
6666
ENABLED = true;
67-
} catch (final Exception e) {
67+
} catch (final Throwable t) {
6868
ENABLED = false;
6969

7070
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);

0 commit comments

Comments
 (0)