mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
If possible all errors are sent to stderr
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1055 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -110,6 +110,9 @@ class ScriptError : public Error {
|
||||
|
||||
// ----------------------------------------------------------------------------- : Error handling
|
||||
|
||||
/// Should errors be written to stdout?
|
||||
extern bool write_errors_to_cli;
|
||||
|
||||
/// Handle an error by showing a message box
|
||||
/** If !allow_duplicate and the error is the same as the previous error, does nothing.
|
||||
* If !now the error is handled by a later call to handle_pending_errors()
|
||||
|
||||
Reference in New Issue
Block a user