mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Log info/warning about METAR URL
This commit is contained in:
committed by
Mat Sutcliffe
parent
0e3cba35ff
commit
1d75b5fac7
@@ -1175,6 +1175,7 @@ namespace BlackCore
|
||||
CMetar CContextNetwork::getMetarForAirport(const CAirportIcaoCode &airportIcaoCode) const
|
||||
{
|
||||
if (this->isDebugEnabled()) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO << airportIcaoCode; }
|
||||
if (!sApp || !sApp->getWebDataServices()) { return {}; }
|
||||
return sApp->getWebDataServices()->getMetarForAirport(airportIcaoCode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user