summaryrefslogtreecommitdiffstats
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-17 18:01:54 +0000
commit217e13fdff8dcec223ca9e654e1a4dbabb5c03f8 (patch)
treeabd1684049fc3f7fd0489dc13930a7775df291c0
parent1cff0a4e123eb372bffabd2b50024fbc508edeea (diff)
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>
-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 66598203e..f3b57484d 100644
--- a/src/core/web_contents_delegate_qt.cpp
+++ b/src/core/web_contents_delegate_qt.cpp
@@ -271,6 +271,7 @@ void WebContentsDelegateQt::PrimaryMainFrameRenderProcessGone(base::TerminationS
|| status == base::TERMINATION_STATUS_STILL_RUNNING) {
return;
}
+ LOG(INFO) << "ProcessGone: " << int(status) << " (" << web_contents()->GetCrashedErrorCode() << ")";
setLoadingState(LoadingState::Unloaded);
}
@@ -744,7 +745,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;
}
}