From 26826fc63fd231b5ed6bd2fdf65f978358225737 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Wed, 16 Jul 2025 16:45:06 +0700 Subject: [PATCH] [core] Don't crash in debug on mismatched (test) mwm versions Signed-off-by: Konstantin Pastbin --- storage/storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/storage.cpp b/storage/storage.cpp index 7c25ffa9d..6b92d95c9 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -969,7 +969,7 @@ void Storage::RegisterLocalFile(platform::LocalCountryFile const & localFile) /// Funny, but ptr->GetCountryFile() has valid name only. Size and sha1 are not initialized. /// @todo Store only name (CountryId) in LocalCountryFile instead of CountryFile? if (m_currentVersion == ptr->GetVersion() && size != GetCountryFile(countryId).GetRemoteSize()) - LOG(LERROR, ("Inconsistent MWM and version for", *ptr)); + LOG(LWARNING, ("Inconsistent MWM and version for", *ptr)); } void Storage::DeleteCountryFiles(CountryId const & countryId, MapFileType type, bool deferredDelete)