We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d63ac8 commit 2348ee7Copy full SHA for 2348ee7
src/GDLInterpreter.cpp
@@ -417,10 +417,11 @@ GDLInterpreter::GDLInterpreter()
417
418
// errors while typing commands in inner loop (called via Control-C, STOP, error) should be ignored.
419
if (e.Interpreter()->IsInnerInterpreterLoop()) {
420
- e.Interpreter()->SetInnerInterpeterLoop(false);
421
- _retTree=NULL;
422
- debugMode=DEBUG_CLEAR;
423
- throw e; //signal we made a (typing ?) error see #1855
+ e.Interpreter()->SetInnerInterpeterLoop(false);
+ _retTree=NULL;
+ debugMode=DEBUG_CLEAR;
+ // we cannot throw, here, it caused #2017
424
+ Warning(e.getMessage()); //just warn that there was a (typing ?) error see #1855
425
return RC_OK;
426
}
427
// reset _retTree to last statement
0 commit comments