Improve field trial error message.
Bug: None Change-Id: I112cda6fead3d68136fd7be551686e40191fa87f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153482 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29235}
This commit is contained in:

committed by
Commit Bot

parent
e942b141d8
commit
86873f0cd3
@ -86,6 +86,12 @@ void ParseFieldTrial(
|
|||||||
} else {
|
} else {
|
||||||
RTC_LOG(LS_INFO) << "No field with key: '" << key
|
RTC_LOG(LS_INFO) << "No field with key: '" << key
|
||||||
<< "' (found in trial: \"" << trial_string << "\")";
|
<< "' (found in trial: \"" << trial_string << "\")";
|
||||||
|
std::string valid_keys;
|
||||||
|
for (const auto& f : field_map) {
|
||||||
|
valid_keys += f.first;
|
||||||
|
valid_keys += ", ";
|
||||||
|
}
|
||||||
|
RTC_LOG(LS_INFO) << "Valid keys are: " << valid_keys;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user