Skip to content

Truly independent web browser

Hub: Display an error dialog for failed devtools client launches

Timothy Flynncbc053b1b796
diff --git a/Services/Hub/ConnectionFromUI.cpp b/Services/Hub/ConnectionFromUI.cpp
index c9381c020ba..43435a1be25 100644
--- a/Services/Hub/ConnectionFromUI.cpp
+++ b/Services/Hub/ConnectionFromUI.cpp
@@ -807,7 +807,7 @@ void ConnectionFromUI::crash_compositor_process()
void ConnectionFromUI::launch_devtools_client()
{
if (auto result = Application::the().launch_devtools_client(); result.is_error())
- dbgln("Unable to launch DevTools client: {}", result.error());
+ WebView::Application::the().display_error_dialog(MUST(String::formatted("Unable to launch the DevTools client: {}", result.error())));
}
void ConnectionFromUI::reset_private_browsing_session()