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:
parent
8cb4b1900b
commit
3c3737ed78
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue