mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Merge pull request #2 from havocbane/master
Print QNetworkReply::NetworkError code to logs
This commit is contained in:
		| @@ -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; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user