Don't hide error message.
This commit is contained in:
parent
f98c57ed8b
commit
268b0c2779
1 changed files with 3 additions and 2 deletions
|
@ -1447,8 +1447,9 @@ bool load_font_config()
|
|||
try {
|
||||
scoped_istream stream = preprocess_file("data/fonts.cfg");
|
||||
read(cfg, *stream);
|
||||
} catch(config::error&) {
|
||||
std::cerr << "Could not read fonts.cfg\n";
|
||||
} catch(config::error &e) {
|
||||
ERR_FT << "could not read fonts.cfg:\n"
|
||||
<< e.message << '\n';
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue