Skip to content

Commit

Permalink
catch unsatisfied link error loading native libs to avoid core dump
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Jun 5, 2024
1 parent 9aba847 commit 93f2cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/monero/common/MoneroUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static void loadNativeLibrary() {
// load native libraries
System.load(tempDir.resolve(libraryCppFile).toString());
System.load(tempDir.resolve(libraryJavaFile).toString());
} catch (Exception e) {
} catch (Exception | UnsatisfiedLinkError e) {
throw new MoneroError(e);
} finally {

Expand Down

0 comments on commit 93f2cf6

Please sign in to comment.