Commit d6bd0c0e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Replaced #printStackTrace with Log.error().


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1316 b35dd754-fafc-0310-a699-88a17e54d16e
parent b3f37cdb
...@@ -1538,7 +1538,7 @@ public class MUCRoomImpl implements MUCRoom { ...@@ -1538,7 +1538,7 @@ public class MUCRoomImpl implements MUCRoom {
LocaleUtils.getLocalizedString("muc.roomIsNowMembersOnly"))); LocaleUtils.getLocalizedString("muc.roomIsNowMembersOnly")));
} }
catch (NotAllowedException e) { catch (NotAllowedException e) {
e.printStackTrace(); Log.error(e);
} }
} }
} }
......
...@@ -340,7 +340,7 @@ public class RosterItemProvider { ...@@ -340,7 +340,7 @@ public class RosterItemProvider {
pstmt.executeUpdate(); pstmt.executeUpdate();
} }
catch (SQLException e) { catch (SQLException e) {
e.printStackTrace(); Log.error(e);
} }
} }
} }
......
...@@ -112,11 +112,9 @@ ...@@ -112,11 +112,9 @@
return; return;
} }
catch (GroupAlreadyExistsException e) { catch (GroupAlreadyExistsException e) {
e.printStackTrace();
errors.put("groupAlreadyExists", ""); errors.put("groupAlreadyExists", "");
} }
catch (Exception e) { catch (Exception e) {
e.printStackTrace();
errors.put("general", ""); errors.put("general", "");
Log.error(e); Log.error(e);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment