X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2Fperformancedb.cxx;h=37660e6a0549191c347affb7134213d6098833cf;hb=fb266722ba4b46e4ec6ad89658342530bb4760c5;hp=10e7f6ce1189f94ca21e78f2db65b5fa1415f4c2;hpb=a4debec12277fcb2d0ac109f1af33f0491af52a7;p=flightgear.git diff --git a/src/AIModel/performancedb.cxx b/src/AIModel/performancedb.cxx index 10e7f6ce1..37660e6a0 100644 --- a/src/AIModel/performancedb.cxx +++ b/src/AIModel/performancedb.cxx @@ -60,8 +60,8 @@ void PerformanceDB::load(SGPath filename) { SGPropertyNode root; try { readProperties(filename.str(), &root); - } catch (const sg_exception &e) { - SG_LOG(SG_GENERAL, SG_ALERT, + } catch (const sg_exception &) { + SG_LOG(SG_AI, SG_ALERT, "Error reading AI aircraft performance database: " << filename.str()); return; }