mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 20:15:03 -05:00
Changed log level to verbose when some of the autoconfiguration attempts fail, these are not errors.
This commit is contained in:
parent
5fa5b69688
commit
74b5d777f1
@ -490,16 +490,16 @@ public class AccountSetupAutoConfiguration extends K9Activity implements View.On
|
|||||||
}
|
}
|
||||||
|
|
||||||
}catch (SocketTimeoutException ex){
|
}catch (SocketTimeoutException ex){
|
||||||
Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
||||||
tmpURL+"' ( time-out is"+TIMEOUT+" )", ex);
|
tmpURL+"' ( time-out is"+TIMEOUT+" )", ex);
|
||||||
}catch (MalformedURLException ex){
|
}catch (MalformedURLException ex){
|
||||||
Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
||||||
tmpURL+"'", ex);
|
tmpURL+"'", ex);
|
||||||
}catch (UnknownHostException ex){
|
}catch (UnknownHostException ex){
|
||||||
Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
||||||
tmpURL+"'", ex);
|
tmpURL+"'", ex);
|
||||||
}catch (SSLPeerUnverifiedException ex){
|
}catch (SSLPeerUnverifiedException ex){
|
||||||
Log.e(K9.LOG_TAG, "Error while testing settings", ex);
|
Log.v(K9.LOG_TAG, "Error while testing settings", ex);
|
||||||
// TODO: use custom trust manager so this exception could get thrown
|
// TODO: use custom trust manager so this exception could get thrown
|
||||||
//acceptKeyDialog(R.string.account_setup_failed_dlg_certificate_message_fmt,i,ex);
|
//acceptKeyDialog(R.string.account_setup_failed_dlg_certificate_message_fmt,i,ex);
|
||||||
}catch (SAXException e) {
|
}catch (SAXException e) {
|
||||||
@ -509,7 +509,7 @@ public class AccountSetupAutoConfiguration extends K9Activity implements View.On
|
|||||||
setMessage(R.string.account_setup_autoconfig_fail,false);
|
setMessage(R.string.account_setup_autoconfig_fail,false);
|
||||||
bParseFailed = true;
|
bParseFailed = true;
|
||||||
}catch (ErrorCodeException ex) {
|
}catch (ErrorCodeException ex) {
|
||||||
Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '" +
|
Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '" +
|
||||||
tmpURL + "' site didn't respond as expected. Got code: " + ex.getErrorCode(), ex);
|
tmpURL + "' site didn't respond as expected. Got code: " + ex.getErrorCode(), ex);
|
||||||
}catch(IOException ex) {
|
}catch(IOException ex) {
|
||||||
Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+
|
||||||
|
Loading…
Reference in New Issue
Block a user