mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
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:
parent
72c3dbd02c
commit
3db74fa92d
@ -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 (...) {
|
||||
|
Loading…
Reference in New Issue
Block a user