summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2023-01-16 11:11:44 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-01-18 10:05:04 +0000
commitb5e4fdb1aabe7ef2b423a04c5bb1f6fdc98dd270 (patch)
treef6d59c906e79d99a5df6e796d3a0abd94b4f680a /src
parentd94c700b45b447a91b8967135799dc55307686b5 (diff)
downloadqtwebengine-b5e4fdb1aabe7ef2b423a04c5bb1f6fdc98dd270.tar.gz
Log raw abnormal exit codes
We lose details in the translation to Qt exit codes. Change-Id: I890242ac78bf82cc6ef38d3aa8c6a25677714071 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit bef75eeae176602a7a827388e089c46a0a4c9a07) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/core/web_contents_delegate_qt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/web_contents_delegate_qt.cpp b/src/core/web_contents_delegate_qt.cpp
index 21c370098..fd445f88a 100644
--- a/src/core/web_contents_delegate_qt.cpp
+++ b/src/core/web_contents_delegate_qt.cpp
@@ -272,6 +272,7 @@ void WebContentsDelegateQt::PrimaryMainFrameRenderProcessGone(base::TerminationS
|| status == base::TERMINATION_STATUS_STILL_RUNNING) {
return;
}
+ LOG(INFO) << "ProcessGone: " << int(status) << " (" << web_contents()->GetCrashedErrorCode() << ")";
setLoadingState(LoadingState::Unloaded);
}
@@ -745,7 +746,7 @@ bool WebContentsDelegateQt::CheckMediaAccessPermission(content::RenderFrameHost
return m_viewClient->profileAdapter()->checkPermission(toQt(security_origin), ProfileAdapter::VideoCapturePermission);
default:
LOG(INFO) << "WebContentsDelegateQt::CheckMediaAccessPermission: "
- << "Unsupported media stream type checked" << type;
+ << "Unsupported media stream type checked " << type;
return false;
}
}