forked from organicmaps/organicmaps
Minor changes.
This commit is contained in:
parent
64166a99e9
commit
6a8af229df
2 changed files with 5 additions and 4 deletions
|
@ -28,12 +28,13 @@ namespace indexer
|
|||
}
|
||||
catch (Reader::Exception const & e)
|
||||
{
|
||||
LOG(LERROR, ("Error while reading file: ", e.what()));
|
||||
LOG(LERROR, ("Error while reading file: ", e.Msg()));
|
||||
return false;
|
||||
}
|
||||
catch (Writer::Exception const & e)
|
||||
{
|
||||
LOG(LERROR, ("Error writing index file: ", e.what()));
|
||||
LOG(LERROR, ("Error writing index file: ", e.Msg()));
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -433,12 +433,12 @@ bool indexer::BuildSearchIndexFromDatFile(string const & fName, bool forceRebuil
|
|||
}
|
||||
catch (Reader::Exception const & e)
|
||||
{
|
||||
LOG(LERROR, ("Error while reading file: ", e.what()));
|
||||
LOG(LERROR, ("Error while reading file: ", e.Msg()));
|
||||
return false;
|
||||
}
|
||||
catch (Writer::Exception const & e)
|
||||
{
|
||||
LOG(LERROR, ("Error writing index file: ", e.what()));
|
||||
LOG(LERROR, ("Error writing index file: ", e.Msg()));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue