forked from organicmaps/organicmaps
Now we print the info about where we look for data files.
It was quite tiresome to try and figure out why certain tests that depend on data do not work. Now we tell the user exactly where we look for the data.
This commit is contained in:
parent
c0e7c54cee
commit
c46b1cbbe9
1 changed files with 3 additions and 1 deletions
|
@ -48,7 +48,9 @@ string Platform::ReadPathForFile(string const & file, string searchScope) const
|
|||
return fullPath;
|
||||
}
|
||||
|
||||
MYTHROW(FileAbsentException, ("File", file, "doesn't exist in the scope", searchScope));
|
||||
string possiblePaths = m_writableDir + "\n" + m_resourcesDir + "\n" + m_settingsDir + "\n" + m_optionalDir;
|
||||
|
||||
MYTHROW(FileAbsentException, ("File", file, "doesn't exist in the scope", searchScope, "Have been looking in:\n", possiblePaths));
|
||||
}
|
||||
|
||||
string Platform::HashUniqueID(string const & s)
|
||||
|
|
Loading…
Add table
Reference in a new issue