Merge pull request #2699 from deathbaba/stats-fix

[master] Correctly send statistics without .mwm extension.
This commit is contained in:
Vladimir Byko-Ianko 2016-04-05 09:16:38 +03:00
commit 825c0716c8

View file

@ -789,7 +789,7 @@ void Storage::OnMapDownloadFinished(TCountryId const & countryId, bool success,
("This method should not be called for empty files set."));
{
alohalytics::LogEvent("$OnMapDownloadFinished",
alohalytics::TStringMap({{"name", GetCountryFile(countryId).GetName()},
alohalytics::TStringMap({{"name", countryId},
{"status", success ? "ok" : "failed"},
{"version", strings::to_string(GetCurrentDataVersion())},
{"option", DebugPrint(files)}}));