diff --git a/core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceRoomBrowser.java b/core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceRoomBrowser.java index 022ff9307..2d841bbc9 100644 --- a/core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceRoomBrowser.java +++ b/core/src/main/java/org/jivesoftware/spark/ui/conferences/ConferenceRoomBrowser.java @@ -50,6 +50,7 @@ import org.jivesoftware.resource.SparkRes; import org.jivesoftware.smack.SmackException; import org.jivesoftware.smack.XMPPException; +import org.jivesoftware.smack.packet.StanzaError; import org.jivesoftware.smackx.muc.MultiUserChatManager; import org.jivesoftware.smackx.xdata.form.FillableForm; import org.jivesoftware.smackx.bookmarks.BookmarkedConference; @@ -549,8 +550,13 @@ public void run() { Log.error("Error setting up GroupChatTable", e); } } + } catch (XMPPException.XMPPErrorException e) { + StanzaError.Condition condition = e.getStanzaError().getCondition(); + if (condition != StanzaError.Condition.feature_not_implemented && condition != StanzaError.Condition.service_unavailable) { + Log.error("Unable to retrieve list of rooms from " + serviceName, e); + } } catch (Exception e) { - Log.error("Unable to retrieve list of rooms.", e); + Log.error("Unable to retrieve list of rooms from " + serviceName, e); } stopLoadingImg(); }