[locale] On GeoIP failure, log URL

This commit is contained in:
Adriaan de Groot 2018-04-13 09:36:39 -04:00
parent c9928c99c8
commit be5ad6944e

View File

@ -151,6 +151,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();