Give an error message here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-06-05 05:39:48 +00:00
parent 96fbd90e92
commit ad76cb5c5f

View File

@ -404,9 +404,10 @@ support::FileNameList InsetBibtex::getBibFiles() const
FileName const file =
findtexfile(changeExtension(to_utf8(*it), "bib"), "bib");
// If we didn't find a matching file name just fail silently
if (!file.empty())
vec.push_back(file);
else
LYXERR0("Couldn't find " + to_utf8(*it) + " in InsetBibtex::getBibFiles()!");
}
return vec;