print psuedoaction on failure

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4747 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-22 18:26:56 +00:00
parent e7ae3ca91b
commit 33836900dd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-07-22 John Levon <moz@compsoc.man.ac.uk>
* LyXAction.C: show the failing pseudo action
2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (readFile): Run the lyxconvert script in order to read

View File

@ -525,7 +525,8 @@ kb_action LyXAction::retrieveActionArg(int pseudo, string & arg) const
arg = pit->second.arg;
return pit->second.action;
} else {
lyxerr << "Lyx Error: Unrecognized pseudo-action\n";
lyxerr << "Lyx Error: Unrecognized pseudo-action "
<< pseudo << endl;
return LFUN_UNKNOWN_ACTION;
}
}