[locale] On GeoIP failure, log URL
This commit is contained in:
parent
c9928c99c8
commit
be5ad6944e
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user