From 783f754d092466f603b2b248cc4d5a16cc27a377 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 8 Nov 2016 14:49:37 +0100 Subject: [PATCH] Log debug messages when devtools is not notified about a HTTP request. --- components/net/http_loader.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index 3b0202db868..8455a7c0fd9 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -835,9 +835,11 @@ pub fn obtain_response(request_factory: &HttpRequestFactory, request_body.clone(), pipeline_id, time::now(), connect_end - connect_start, send_end - send_start, is_xhr)) } else { + debug!("Not notifying devtools (no pipeline_id)"); None } } else { + debug!("Not notifying devtools (no request_id)"); None };