mirror of
https://github.com/igniterealtime/Spark.git
synced 2026-08-18 02:56:24 +00:00
CheckUpdates: ignore item_not_found
This commit is contained in:
@ -484,8 +484,8 @@ public class CheckUpdates {
|
||||
SparkVersion response = connection.sendIqRequestAndWaitForResponse(request);
|
||||
return response;
|
||||
} catch (XMPPException.XMPPErrorException e) {
|
||||
if (e.getStanzaError().getCondition() == StanzaError.Condition.service_unavailable) {
|
||||
// no new version available
|
||||
if (e.getStanzaError().getCondition() == StanzaError.Condition.item_not_found) {
|
||||
Log.debug("no new version available");
|
||||
return null;
|
||||
}
|
||||
Log.warning("Unable the check for new build.", e);
|
||||
|
||||
Reference in New Issue
Block a user