diff --git a/java/com/facebook/soloader/SystemLoadWrapperSoSource.java b/java/com/facebook/soloader/SystemLoadWrapperSoSource.java index a8d4e86..85c7769 100644 --- a/java/com/facebook/soloader/SystemLoadWrapperSoSource.java +++ b/java/com/facebook/soloader/SystemLoadWrapperSoSource.java @@ -34,7 +34,7 @@ public int loadLibrary(String soName, int loadFlags, StrictMode.ThreadPolicy thr throws IOException { try { System.loadLibrary(soName.substring("lib".length(), soName.length() - ".so".length())); - } catch (Exception e) { + } catch (Throwable e) { LogUtil.e(SoLoader.TAG, "Error loading library: " + soName, e); return LOAD_RESULT_NOT_FOUND; }