aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-01-06 13:58:47 +0530
committerManish Goregaokar <manishsmail@gmail.com>2020-01-06 15:46:59 +0530
commitbe917ae9ef011a0b1ed4ea512f98a30b9d59b769 (patch)
treeac254fcf99b6e0018068efe91a7845677aeb919f /components/script
parent198599bd7ce95faa897926db1d0724ccbd936bf1 (diff)
downloadservo-be917ae9ef011a0b1ed4ea512f98a30b9d59b769.tar.gz
servo-be917ae9ef011a0b1ed4ea512f98a30b9d59b769.zip
Upgrade module fail warning log to error
Diffstat (limited to 'components/script')
-rw-r--r--components/script/script_module.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_module.rs b/components/script/script_module.rs
index c9352463ab3..6a2d30d72c5 100644
--- a/components/script/script_module.rs
+++ b/components/script/script_module.rs
@@ -947,7 +947,7 @@ impl FetchResponseListener for ModuleContext {
if let Err(err) = load {
// Step 9.
- warn!("Failed to fetch {}", self.url.clone());
+ error!("Failed to fetch {} with error {:?}", self.url.clone(), err);
let module_tree = {
let module_map = global.get_module_map().borrow();
module_map.get(&self.url.clone()).unwrap().clone()