Skip to content

Commit

Permalink
Merge pull request #3083 from glennw/font-cache-error
Browse files Browse the repository at this point in the history
Improve error message for when web fonts fail to load.
  • Loading branch information
metajack committed Aug 14, 2014
2 parents e8d89ca + 93fc4e1 commit 16ef461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/gfx/font_cache_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl FontCache {
family.add_template(format!("{}", url).as_slice(), Some(bytes));
},
Err(msg) => {
fail!(msg);
fail!("{}: url={}", msg, url);
}
}
}
Expand Down

0 comments on commit 16ef461

Please sign in to comment.