Skip to content

Commit

Permalink
Add new exception
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Sep 24, 2024
1 parent 60de0a7 commit 51ee903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/fieldeditors/URLUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static boolean isURL(String url) {
try {
URI.create(url).toURL();
return true;
} catch (MalformedURLException e) {
} catch (MalformedURLException | IllegalArgumentException e) {
return false;
}
}
Expand Down

0 comments on commit 51ee903

Please sign in to comment.