Commit bcd3f0b2 authored by Armando Jagucki's avatar Armando Jagucki Committed by ajagucki

JM-1407: When trying to login to the admin console while Clearspace is down...

JM-1407: When trying to login to the admin console while Clearspace is down (on a fresh startup of OF) do not throw an exception, but rather, report a login failed error.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10631 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8fbe6ccc
......@@ -62,7 +62,12 @@ public class ClearspaceAdminProvider implements AdminProvider {
}
}
return admins;
} catch (Exception e) {
}
catch (ConnectException e) {
Log.error(e);
return new ArrayList();
}
catch (Exception e) {
// It is not supported exception, wrap it into an UnsupportedOperationException
throw new UnsupportedOperationException("Unexpected 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