mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Input: Further small changes to error handling
Calling Error() in an input reader now automatically will disable the reader and return a failure in the Update/Heartbeat calls. Also adds more tests. Addresses BIT-1181
This commit is contained in:
parent
6b9abe85a7
commit
c8e1a39758
7 changed files with 89 additions and 7 deletions
|
@ -33,4 +33,9 @@ error: Input stream event6: Event has wrong number of arguments
|
|||
error: Input stream event7: Incompatible type for event in field 3. Need type 'int':int, got 'record':record { i:int; r:record { i:int; s:file of string; }; }
|
||||
error: Input stream event8: Incompatible type for event in field 5. Need type 'addr':addr, got 'string':string
|
||||
error: Input stream event9: Event has wrong number of arguments
|
||||
error: Input stream error1: Error event's first attribute must be of type Input::EventDescription
|
||||
error: Input stream error2: Error event's first attribute must be of type Input::TableDescription
|
||||
error: Input stream error3: Error event's first attribute must be of type Input::EventDescription
|
||||
error: Input stream error4: Error event's second attribute must be of type string
|
||||
error: Input stream error5: Error event's third attribute must be of type Reporter::Level
|
||||
received termination signal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue