[locale] On GeoIP failure, log URL

main
Adriaan de Groot 7 years ago
parent 47b7040897
commit d6f082752d

@ -152,6 +152,8 @@ LocaleViewStep::fetchGeoIpTimezone()
auto tz = handler->processReply( reply->readAll() ); auto tz = handler->processReply( reply->readAll() );
if ( !tz.first.isEmpty() ) if ( !tz.first.isEmpty() )
m_startingTimezone = tz; m_startingTimezone = tz;
else
cWarning() << "GeoIP lookup at" << reply->url() << "failed.";
} }
delete handler; delete handler;
reply->deleteLater(); reply->deleteLater();

Loading…
Cancel
Save