Merge pull request #215 from ygorshenin/more-informative-error-message

[map] More informative log message about map registration failure.
This commit is contained in:
Viktor Govako 2015-10-13 17:42:09 +03:00
commit 758935b8a2

View file

@ -52,7 +52,7 @@ pair<MwmSet::MwmId, MwmSet::RegResult> FeaturesFetcher::RegisterMap(
auto result = m_multiIndex.RegisterMap(localFile);
if (result.second != MwmSet::RegResult::Success)
{
LOG(LWARNING, ("Can't add map", localFile.GetCountryName(),
LOG(LWARNING, ("Can't add map", localFile.GetCountryName(), "(", result.second, ").",
"Probably it's already added or has newer data version."));
}
else