commit 3db74fa92d9acd784b271b01c473f69c36311777
Author: Scott Kostyshak <[email protected]>
Date: Fri Mar 10 17:11:58 2017 -0500
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.
---
src/Buffer.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index b220ee3..84b5e6c 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -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 (...) {