mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
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:
committed by
Tim Ledbetter
parent
d2151e444e
commit
4add737e88
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user