Skip to content

Commit 25a727a

Browse files
committed
show correct host name when version check fails to find host
1 parent af88924 commit 25a727a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsversioninfo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void QgsVersionInfo::versionReplyFinished()
7878
mErrorString = tr( "Connection refused - server may be down" );
7979
break;
8080
case QNetworkReply::HostNotFoundError:
81-
mErrorString = tr( "The host name qgis.org could not be resolved. Check your DNS settings or contact your system administrator." );
81+
mErrorString = tr( "The host name %1 could not be resolved. Check your DNS settings or contact your system administrator." ).arg( reply->request().url().host() );
8282
break;
8383
case QNetworkReply::NoError:
8484
mErrorString = "";

0 commit comments

Comments
 (0)