mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +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:
parent
d2151e444e
commit
4add737e88
Notes:
github-actions[bot]
2024-11-12 14:27:07 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/4add737e88a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2300 Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue