mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Removed specific AWT catch
It's better if we handle it here instead of bubbling the exception up the stack.
This commit is contained in:
parent
008324aa84
commit
328e24e243
1 changed files with 0 additions and 2 deletions
|
|
@ -551,8 +551,6 @@ public final class client extends GameShell {
|
|||
BufferedImage image = robot.createScreenCapture(captureSize);
|
||||
File outputFile = new File(outputFolder, filename);
|
||||
ImageIO.write(image, "png", outputFile);
|
||||
} catch (AWTException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue