- design improvements in scriptcontext (sct send) and ascon (AsconBaseHandler)
- bug fixes
This commit is contained in:
10
exebuf.c
10
exebuf.c
@ -233,15 +233,13 @@ int exeBufProcess(pExeBuf self, SicsInterp * pSics,
|
||||
SCPrintf(pCon, eLogError, "ERROR: Tcl reported: %s",
|
||||
pTcl->result);
|
||||
}
|
||||
SCWrite(pCon, "ERROR: Tcl error in block:", eLogError);
|
||||
SCWrite(pCon, GetCharArray(command), eError);
|
||||
SCWrite(pCon, "ERROR: end of Tcl error block", eLogError);
|
||||
} else {
|
||||
if(strstr(pTcl->result, "ERROR") != NULL){
|
||||
SCPrintf(pCon,eError,"%s occurred in %s", pTcl->result, cmd );
|
||||
}
|
||||
SCWrite(pCon, pTcl->result, eError);
|
||||
pCon->sicsError = 0;
|
||||
}
|
||||
SCWrite(pCon, "ERROR: above error was in block:", eError);
|
||||
SCWrite(pCon, cmd, eError);
|
||||
SCWrite(pCon, "ERROR: end of Tcl error block", eError);
|
||||
}
|
||||
DeleteDynString(command);
|
||||
if (SCGetInterrupt(pCon) >= eAbortBatch) {
|
||||
|
Reference in New Issue
Block a user