mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-22 10:11:52 +01:00
Update NativeUtils.java
Catch the rest of the exceptions
This commit is contained in:
parent
0df138171c
commit
c51fe59e2f
@ -45,6 +45,9 @@ public final class NativeUtils {
|
||||
} catch (NullPointerException e) {
|
||||
temp.delete();
|
||||
throw new FileNotFoundException("File " + path + " was not found inside JAR.");
|
||||
} catch (Exception e) {
|
||||
file.delete();
|
||||
throw e;
|
||||
}
|
||||
|
||||
return temp;
|
||||
|
Loading…
Reference in New Issue
Block a user