From be5ad6944edbcd3816edc302af808825c2b19ede Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 13 Apr 2018 09:36:39 -0400 Subject: [PATCH] [locale] On GeoIP failure, log URL --- src/modules/locale/LocaleViewStep.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/locale/LocaleViewStep.cpp b/src/modules/locale/LocaleViewStep.cpp index 09589a732..f3a887963 100644 --- a/src/modules/locale/LocaleViewStep.cpp +++ b/src/modules/locale/LocaleViewStep.cpp @@ -151,6 +151,8 @@ LocaleViewStep::fetchGeoIpTimezone() auto tz = handler->processReply( reply->readAll() ); if ( !tz.first.isEmpty() ) m_startingTimezone = tz; + else + cWarning() << "GeoIP lookup at" << reply->url() << "failed."; } delete handler; reply->deleteLater();