better error message to help users and support staff
This commit is contained in:
parent
4df7a3e9f8
commit
2f2d14a41f
2 changed files with 2 additions and 2 deletions
|
@ -531,7 +531,7 @@ static string fgFindAircraftPath( const SGPath &path, const string &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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue