LibWebView: Log the last URL we loaded when WebContent crashes

We display this URL in the error page, but let's log it for headless-
browser as well.
This commit is contained in:
Timothy Flynn 2024-11-12 08:44:11 -05:00 committed by Tim Ledbetter
parent d2151e444e
commit 4add737e88
Notes: github-actions[bot] 2024-11-12 14:27:07 +00:00

View file

@ -496,7 +496,7 @@ void ViewImplementation::handle_resize()
void ViewImplementation::handle_web_content_process_crash(LoadErrorPage load_error_page)
{
dbgln("WebContent process crashed!");
dbgln("\033[31;1mWebContent process crashed!\033[0m Last page loaded: {}", m_url);
dbgln("Consider raising an issue at https://github.com/LadybirdBrowser/ladybird/issues/new/choose");
++m_crash_count;