Skip to content

Commit

Permalink
import exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Sep 18, 2023
1 parent 7464238 commit 5d36745
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.jabref.gui.preferences.general;

import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
Expand Down Expand Up @@ -313,7 +314,7 @@ public void openBrowser() {
String url = "https://themes.jabref.org";
try {
JabRefDesktop.openBrowser(url, preferences.getFilePreferences());
} catch (java.io.IOException e) {
} catch (IOException e) {
dialogService.showErrorDialogAndWait(Localization.lang("Could not open browser."));
}
}
Expand Down

0 comments on commit 5d36745

Please sign in to comment.