aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2007-09-14 05:53:29 +0000
committerEmil Ivov <emcho@jitsi.org>2007-09-14 05:53:29 +0000
commit5d85bde3c96cbdc073e994d8085cc1976253be0e (patch)
treee4fb628ea5cb7f819a08c998bd7fa786628bb09a /src
parent8db1128da9b501dd06edc47ad275b9b549c6c164 (diff)
downloadjitsi-5d85bde3c96cbdc073e994d8085cc1976253be0e.zip
jitsi-5d85bde3c96cbdc073e994d8085cc1976253be0e.tar.gz
jitsi-5d85bde3c96cbdc073e994d8085cc1976253be0e.tar.bz2
fixing a problem when loading ipv6 SIP accounts on non-ipv6 networks
Diffstat (limited to 'src')
-rw-r--r--src/net/java/sip/communicator/service/protocol/ProtocolProviderFactory.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/ProtocolProviderFactory.java b/src/net/java/sip/communicator/service/protocol/ProtocolProviderFactory.java
index 7feeaa2..825f3bd 100644
--- a/src/net/java/sip/communicator/service/protocol/ProtocolProviderFactory.java
+++ b/src/net/java/sip/communicator/service/protocol/ProtocolProviderFactory.java
@@ -457,7 +457,17 @@ public abstract class ProtocolProviderFactory
}
accountProperties.put(propertyName, storedPropertyValue);
}
- loadAccount(accountProperties);
+ try
+ {
+ loadAccount(accountProperties);
+ }
+ catch (Exception exc)
+ {
+ //catch any exception here so that one failing accoung does not
+ //cut the whole account reloading process
+ logger.error("Failed to reload account:" + accountProperties,
+ exc);
+ }
}
}