Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private static Dimension detectResolution() {
Dimension screenSize = toolkit.getScreenSize();
LOGGER.debug("Screen dimensions: {}x{}", screenSize.width, screenSize.height);
return screenSize;
} catch (Exception e) {
} catch (Throwable e) {
LOGGER.error("Failed to detect resolution", e);
return null;
}
Expand Down Expand Up @@ -241,4 +241,4 @@ private static Dimension parseResolution(String resolution) {
LOGGER.warn("Resolution format not recognized: {}", resolution);
return null;
}
}
}