]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.cxx
better error message to help users and support staff
[flightgear.git] / src / Main / options.cxx
index f49c5bf68190ba4c657bc9c8d1be5c4eca37f6cf..11b5e7c0bd8f1cbe77eecc1c8b7f1b19fc31df0a 100644 (file)
@@ -1727,7 +1727,7 @@ static void fgSearchAircraft(const SGPath &path, string_list &aircraft,
    ulDirEnt* dire;
    ulDir *dirp = ulOpenDir(path.str().c_str());
    if (dirp == NULL) {
-      cerr << "Unable to open aircraft directory." << endl;
+      cerr << "Unable to open aircraft directory '" << path.str() << '\'' << endl;
       exit(-1);
    }