Skip to content
Permalink
Browse files

Upgrade module fail warning log to error

  • Loading branch information
Manishearth committed Jan 6, 2020
1 parent 198599b commit be917ae9ef011a0b1ed4ea512f98a30b9d59b769
Showing with 1 addition and 1 deletion.
  1. +1 −1 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()

0 comments on commit be917ae

Please sign in to comment.
You can’t perform that action at this time.