Declare LERROR deprecated and remove all usage in webrtc

Bug: webrtc:13362
Change-Id: I1c6c6eccd950d73be616b34f96db7832ff94377e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238804
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35416}
This commit is contained in:
Harald Alvestrand
2021-11-24 10:01:32 +00:00
committed by WebRTC LUCI CQ
parent 4e8e36c745
commit 5f34130f26
10 changed files with 28 additions and 30 deletions

View File

@ -269,7 +269,7 @@ void SimplePeerConnection::OnSuccess(
}
void SimplePeerConnection::OnFailure(webrtc::RTCError error) {
RTC_LOG(LERROR) << ToString(error.type()) << ": " << error.message();
RTC_LOG(LS_ERROR) << ToString(error.type()) << ": " << error.message();
// TODO(hta): include error.type in the message
if (OnFailureMessage)