aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index b1af9774214..09f71851d7a 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -510,8 +510,8 @@ pub fn parse_html(page: &Page,
debug!("received data");
parser.parse_chunk(data.as_slice());
}
- Done(Err(..)) => {
- fail!("Failed to load page URL {:s}", url.to_str());
+ Done(Err(err)) => {
+ fail!("Failed to load page URL {:s}, error: {:s}", url.to_str(), err);
}
Done(..) => {
break;