Skip to content

Commit

Permalink
fix detecting remote file / local file logic while finding the hash f…
Browse files Browse the repository at this point in the history
…ile, taking care of IllegalArgumentException for local files.
  • Loading branch information
fujigon committed Sep 6, 2019
1 parent 042e176 commit a1ecb15
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -801,9 +801,7 @@ private String calculateInputSpecHash(File inputSpecFile) throws IOException {
private URL inputSpecRemoteUrl(){
try {
return new URI(inputSpec).toURL();
} catch (URISyntaxException e) {
return null;
} catch (MalformedURLException e) {
} catch (URISyntaxException | MalformedURLException | IllegalArgumentException e) {
return null;
}
}
Expand Down

0 comments on commit a1ecb15

Please sign in to comment.