Source code

Revision control

Copy as Markdown

Other Tools

From: Andreas Pehrson <apehrson@mozilla.com>
Date: Fri, 5 Dec 2025 11:12:00 +0000
Subject: Bug 1931210 - Log SCK startCaptureWithCompletionHandler error code.
r=jib
---
modules/desktop_capture/mac/screen_capturer_sck.mm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/desktop_capture/mac/screen_capturer_sck.mm b/modules/desktop_capture/mac/screen_capturer_sck.mm
index 0d0750f63e..8ec1d182a3 100644
--- a/modules/desktop_capture/mac/screen_capturer_sck.mm
+++ b/modules/desktop_capture/mac/screen_capturer_sck.mm
@@ -590,7 +590,8 @@ void ScreenCapturerSck::StartWithFilter(SCContentFilter* __strong filter) {
// this handler.
permanent_error_ = true;
RTC_LOG(LS_ERROR) << "ScreenCapturerSck " << this
- << " Starting failed.";
+ << " Starting failed with error code " << error.code
+ << ".";
} else {
RTC_LOG(LS_INFO) << "ScreenCapturerSck " << this << " Capture started.";
}