diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2014-08-14 09:10:53 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2014-08-14 09:10:53 +1000 |
commit | 93fc4e13f3ce91fa64c7d3f946cda97d82ef203c (patch) | |
tree | a29e9431d20ab569b8acf3fc809af6e46361395b /src/components/gfx/font_cache_task.rs | |
parent | e8d89ca4641b8b954ba4d42d2d2ea6761dc5d0b2 (diff) | |
download | servo-93fc4e13f3ce91fa64c7d3f946cda97d82ef203c.tar.gz servo-93fc4e13f3ce91fa64c7d3f946cda97d82ef203c.zip |
Improve error message for when web fonts fail to load.
Diffstat (limited to 'src/components/gfx/font_cache_task.rs')
-rw-r--r-- | src/components/gfx/font_cache_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/gfx/font_cache_task.rs b/src/components/gfx/font_cache_task.rs index 1dc919c5d26..88455f92b2e 100644 --- a/src/components/gfx/font_cache_task.rs +++ b/src/components/gfx/font_cache_task.rs @@ -118,7 +118,7 @@ impl FontCache { family.add_template(format!("{}", url).as_slice(), Some(bytes)); }, Err(msg) => { - fail!(msg); + fail!("{}: url={}", msg, url); } } } |