mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
if throwable is of class CertificateRejected... , only log a message (in normal conditions, user already know he had rejected the certificate, or this is "passive" (silent) call)
IDEA-102664 Subversion: avoid error that appears on opening project associated with https repository
This commit is contained in:
@@ -87,6 +87,7 @@ import org.tmatesoft.svn.core.auth.ISVNAuthenticationManager;
|
||||
import org.tmatesoft.svn.core.internal.io.dav.DAVRepositoryFactory;
|
||||
import org.tmatesoft.svn.core.internal.io.fs.FSRepositoryFactory;
|
||||
import org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryFactoryImpl;
|
||||
import org.tmatesoft.svn.core.internal.util.SVNSSLUtil;
|
||||
import org.tmatesoft.svn.core.internal.util.jna.SVNJNAUtil;
|
||||
import org.tmatesoft.svn.core.internal.wc.SVNAdminUtil;
|
||||
import org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14;
|
||||
@@ -959,6 +960,10 @@ public class SvnVcs extends AbstractVcs<CommittedChangeList> {
|
||||
final long time = System.currentTimeMillis();
|
||||
if ((time - myPreviousTime) > ourErrorNotificationInterval) {
|
||||
myPreviousTime = time;
|
||||
if (th.getCause() instanceof SVNSSLUtil.CertificateNotTrustedException) {
|
||||
LOG.info(th);
|
||||
return;
|
||||
}
|
||||
String info = SSLExceptionsHelper.getAddInfo();
|
||||
info = info == null ? "" : " (" + info + ") ";
|
||||
if (th.getCause() instanceof CertificateException) {
|
||||
|
||||
Reference in New Issue
Block a user