profiles: Use loggerl

This commit is contained in:
sdburns1998
2019-07-07 17:53:55 +02:00
parent 770c177553
commit b1720a256c
2 changed files with 4 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class ProfilePanel extends JPanel
} }
catch (InvalidKeySpecException | NoSuchAlgorithmException ex) catch (InvalidKeySpecException | NoSuchAlgorithmException ex)
{ {
ex.printStackTrace(); log.error(e.toString());
} }
} }

View File

@@ -346,7 +346,7 @@ class ProfilesPanel extends PluginPanel
} }
catch (InvalidKeySpecException | NoSuchAlgorithmException ex) catch (InvalidKeySpecException | NoSuchAlgorithmException ex)
{ {
ex.printStackTrace(); log.error(e.toString());
} }
this.addAccount(data); this.addAccount(data);
@@ -552,7 +552,7 @@ class ProfilesPanel extends PluginPanel
} }
catch (NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException e) catch (NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException e)
{ {
e.printStackTrace(); log.error(e.toString());
} }
return new byte[0]; return new byte[0];
} }
@@ -568,7 +568,7 @@ class ProfilesPanel extends PluginPanel
} }
catch (NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException e) catch (NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException e)
{ {
e.printStackTrace(); log.error(e.toString());
} }
return ""; return "";
} }