diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilePanel.java b/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilePanel.java index 878ed2b220..352ee7677f 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilePanel.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilePanel.java @@ -103,7 +103,7 @@ class ProfilePanel extends JPanel } catch (InvalidKeySpecException | NoSuchAlgorithmException ex) { - ex.printStackTrace(); + log.error(e.toString()); } } diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPanel.java b/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPanel.java index 66a4f5530f..60835272a2 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPanel.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPanel.java @@ -346,7 +346,7 @@ class ProfilesPanel extends PluginPanel } catch (InvalidKeySpecException | NoSuchAlgorithmException ex) { - ex.printStackTrace(); + log.error(e.toString()); } this.addAccount(data); @@ -552,7 +552,7 @@ class ProfilesPanel extends PluginPanel } catch (NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException e) { - e.printStackTrace(); + log.error(e.toString()); } return new byte[0]; } @@ -568,7 +568,7 @@ class ProfilesPanel extends PluginPanel } catch (NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException e) { - e.printStackTrace(); + log.error(e.toString()); } return ""; }