Reduce severity of a failure to create a marker beacon due to an unknown runway from ALERT to WARN. Not particularly relevant error message for most users.
This commit is contained in:
parent
294c081369
commit
60af52707c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ FGMarkerBeaconRecord::create(int aTy, const string& aName, const SGGeod& aPos)
|
||||||
FGRunway* runway = getRunwayFromName(aName);
|
FGRunway* runway = getRunwayFromName(aName);
|
||||||
if (!runway)
|
if (!runway)
|
||||||
{
|
{
|
||||||
SG_LOG(SG_GENERAL, SG_ALERT, "Failed to create beacon for unknown runway '" << aName << "'.");
|
SG_LOG(SG_GENERAL, SG_WARN, "Failed to create beacon for unknown runway '" << aName << "'.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
SGGeod pos(aPos);
|
SGGeod pos(aPos);
|
||||||
|
|
Loading…
Reference in a new issue