mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Merge pull request #2 from havocbane/master
Print QNetworkReply::NetworkError code to logs
This commit is contained in:
commit
81d4f9836f
@ -74,8 +74,9 @@ void GPClient::on_connectButton_clicked()
|
|||||||
|
|
||||||
void GPClient::preloginResultFinished()
|
void GPClient::preloginResultFinished()
|
||||||
{
|
{
|
||||||
if (reply->error()) {
|
QNetworkReply::NetworkError err = reply->error();
|
||||||
qWarning() << "Prelogin request error";
|
if (err) {
|
||||||
|
qWarning() << "Prelogin request error: " << err;
|
||||||
emit connectFailed();
|
emit connectFailed();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user