mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Merge pull request #3083 from glennw/font-cache-error
Improve error message for when web fonts fail to load.
This commit is contained in:
commit
16ef461af9
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ impl FontCache {
|
||||||
family.add_template(format!("{}", url).as_slice(), Some(bytes));
|
family.add_template(format!("{}", url).as_slice(), Some(bytes));
|
||||||
},
|
},
|
||||||
Err(msg) => {
|
Err(msg) => {
|
||||||
fail!(msg);
|
fail!("{}: url={}", msg, url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue