mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Connectivity: Improve log output
This commit is contained in:
parent
9978dc3f6c
commit
ef17dc6482
2 changed files with 6 additions and 2 deletions
|
@ -142,7 +142,7 @@ void AccountState::checkConnectivity(CredentialFetchMode credentialsFetchMode)
|
|||
}
|
||||
|
||||
if (_connectionValidator) {
|
||||
qDebug() << "ConnectionValidator already running, ignoring";
|
||||
qDebug() << "ConnectionValidator already running, ignoring" << account()->displayName();
|
||||
return;
|
||||
}
|
||||
_credentialsFetchMode = credentialsFetchMode;
|
||||
|
|
|
@ -85,7 +85,11 @@ void ConnectionValidator::systemProxyLookupDone(const QNetworkProxy &proxy) {
|
|||
return;
|
||||
}
|
||||
|
||||
qDebug() << Q_FUNC_INFO << "Setting QNAM proxy to be system proxy" << printQNetworkProxy(proxy);
|
||||
if (proxy.type() != QNetworkProxy::NoProxy) {
|
||||
qDebug() << "Setting QNAM proxy to be system proxy" << printQNetworkProxy(proxy);
|
||||
} else {
|
||||
qDebug() << "No system proxy set by OS";
|
||||
}
|
||||
_account->networkAccessManager()->setProxy(proxy);
|
||||
|
||||
slotCheckServerAndAuth();
|
||||
|
|
Loading…
Reference in a new issue