When catching exception, give error on STDERR

The error is reported in the GUI, but for the terminal we must write
explicitly to STDERR.

For a specific example of this type of exception, see the previous
commit, 72c3dbd.
This commit is contained in:
Scott Kostyshak 2017-03-10 17:11:58 -05:00
parent 72c3dbd02c
commit 3db74fa92d

View File

@ -1741,6 +1741,7 @@ bool Buffer::makeLaTeXFile(FileName const & fname,
catch (exception const & e) {
errorList.push_back(ErrorItem(_("conversion failed"),
_(e.what())));
lyxerr << e.what() << endl;
failed_export = true;
}
catch (...) {