Improve error message for when web fonts fail to load.

This commit is contained in:
Glenn Watson 2014-08-14 09:10:53 +10:00
parent e8d89ca464
commit 93fc4e13f3

View file

@ -118,7 +118,7 @@ impl FontCache {
family.add_template(format!("{}", url).as_slice(), Some(bytes));
},
Err(msg) => {
fail!(msg);
fail!("{}: url={}", msg, url);
}
}
}