Merge pull request #2745 from bykoianko/master-more-info-in-case-GetNodeStatuses-error

More information in case of wrong param passed to GetNodeStatuses
This commit is contained in:
igrechuhin 2016-04-05 18:20:43 +04:00
commit bfa6aed976

View file

@ -1402,7 +1402,7 @@ void Storage::GetNodeStatuses(TCountryId const & countryId, NodeStatuses & nodeS
ASSERT_THREAD_CHECKER(m_threadChecker, ());
TCountryTreeNode const * const node = m_countries.FindFirst(countryId);
CHECK(node, ());
CHECK(node, (countryId));
StatusAndError statusAndErr = GetNodeStatus(*node);
nodeStatuses.m_status = statusAndErr.status;