From b1720a256c26223409d7e9391b81f4eca6317a15 Mon Sep 17 00:00:00 2001 From: sdburns1998 Date: Sun, 7 Jul 2019 17:53:55 +0200 Subject: [PATCH] profiles: Use loggerl --- .../net/runelite/client/plugins/profiles/ProfilePanel.java | 2 +- .../net/runelite/client/plugins/profiles/ProfilesPanel.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 ""; }