Commit c3c245ab authored by guus's avatar guus

There never is a good excuse to ignore exceptions completely. At least log them somewhere.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13957 b35dd754-fafc-0310-a699-88a17e54d16e
parent f8d55e25
...@@ -146,8 +146,8 @@ public class WebManager extends WebBean { ...@@ -146,8 +146,8 @@ public class WebManager extends WebBean {
try { try {
pageUser = getUserManager().getUser(getAuthToken().getUsername()); pageUser = getUserManager().getUser(getAuthToken().getUsername());
} }
catch (Exception ignored) { catch (Exception ex) {
// Ignore. Log.debug("Unexpected exception (which is ignored) while trying to obtain user.", ex);
} }
return pageUser; return pageUser;
} }
......
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