Skip to content

Commit

Permalink
Fix pure-java fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Nov 28, 2020
1 parent 585c6a1 commit a1f4fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/xerial/snappy/SnappyLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static synchronized SnappyApi loadSnappyApi()
setSnappyApi(new SnappyNative());
}
}
catch(Exception e) {
catch(Throwable e) {
// Fall-back to pure-java Snappy implementation
setSnappyApi(new PureJavaSnappy());
}
Expand Down

0 comments on commit a1f4fa3

Please sign in to comment.