We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87b18d2 commit 0240350Copy full SHA for 0240350
src/call.cpp
@@ -1897,7 +1897,11 @@ bool call::executeMessage(message *curmsg)
1897
callDebug("Executing NOP at index %d.\n", curmsg->index);
1898
do_bookkeeping(curmsg);
1899
actionResult = executeAction(nullptr, curmsg);
1900
- last_action_result = actionResult;
+ if (actionResult != call::E_AR_NO_ERROR) {
1901
+ // Store last action result if it is an error
1902
+ // and go on with the scenario
1903
+ call::last_action_result = actionResult;
1904
+ }
1905
if (actionResult == E_AR_RTPECHO_ERROR)
1906
{
1907
terminate(CStat::E_CALL_FAILED);
0 commit comments