grigorescu created BIT-1199:
-------------------------------

             Summary: Better error messages for input file errors in 
READER_ASCII
                 Key: BIT-1199
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1199
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
            Reporter: grigorescu
            Priority: Low
         Attachments: test.intel

This came up on the mailing list a few weeks ago. If one tries to load the 
attached file as Intelligence, Bro will error out, with:

{code}
internal error: Value not found in enum mappimg. Module: GLOBAL, var: , var 
size: 0
{code}

The attached file contains an extra tab after downloader.com.

It'd be nice if Bro would tell you that this was an issue with the input 
reader, which file it occurred in, and a line number.

I think generally speaking, if there's an issue with an input file, it'd be 
nice to know the line number.

(Also, there's a typo in mappimg in the error message that's currently 
displayed).



--
This message was sent by Atlassian JIRA
(v6.3-OD-06-017#6327)
_______________________________________________
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to