1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 05:39:42 +00:00

Write error message for exception and fix warning

Provides details of what went wrong when reading the .esp and also fixes a warning on vs2010.
This commit is contained in:
Michael Mc Donnell 2012-08-29 19:38:33 -04:00
parent 8cb4b1900b
commit 3c3737ed78

View file

@ -351,6 +351,7 @@ bool DataFilesPage::setupDataFiles()
} catch(std::runtime_error &e) {
// An error occurred while reading the .esp
std::cerr << "Error reading .esp: " << e.what() << std::endl;
continue;
}
}