diff --git a/core/logic/smn_functions.cpp b/core/logic/smn_functions.cpp index 39312b32..44a63e21 100644 --- a/core/logic/smn_functions.cpp +++ b/core/logic/smn_functions.cpp @@ -569,8 +569,7 @@ static cell_t sm_CallFinish(IPluginContext *pContext, const cell_t *params) } else { IForward *pForward = s_pForward; ResetCall(); - if (int err = pForward->Execute(local_args, result); err != SP_ERROR_NONE) - return pContext->ThrowNativeErrorEx(err, nullptr); + return pForward->Execute(local_args, result); } return SP_ERROR_NONE;