[libcalamares] Return reply early if the request is bad

main
Adriaan de Groot 6 years ago
parent 85f0d38698
commit ededebbc6c

@ -107,6 +107,12 @@ synchronousRun( const std::unique_ptr< QNetworkAccessManager >& nam, const QUrl&
QEventLoop loop;
QTimer timer;
if ( reply->error() )
{
reply->deleteLater();
return reply;
}
options.applyToRequest( &request );
if ( options.hasTimeout() )
{

Loading…
Cancel
Save