mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Merge remote-tracking branch 'origin/topic/robin/interpreter-exceptions'
* origin/topic/robin/interpreter-exceptions: Adding test for new error handling. Experimental code to better handle interpreter errors. This seems to work fine and it catches some potentially nasty crashes so I'm merging it in even though it's not the final word on error handling yet. #646 tracks the work scheduled for later.
This commit is contained in:
commit
c8dfdb4492
18 changed files with 239 additions and 42 deletions
|
@ -2809,7 +2809,13 @@ void RemoteSerializer::GotFunctionCall(const char* name, double time,
|
|||
return;
|
||||
}
|
||||
|
||||
function->Call(args);
|
||||
try
|
||||
{
|
||||
function->Call(args);
|
||||
}
|
||||
|
||||
catch ( InterpreterException& e )
|
||||
{ /* Already reported. */ }
|
||||
}
|
||||
|
||||
void RemoteSerializer::GotID(ID* id, Val* val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue