]> git.ipfire.org Git - thirdparty/suricata-update.git/commit
modify filters: better error on badly formatted filter
authorJason Ish <jason.ish@oisf.net>
Wed, 8 Apr 2020 17:38:17 +0000 (11:38 -0600)
committerJason Ish <jason.ish@oisf.net>
Wed, 8 Apr 2020 17:38:17 +0000 (11:38 -0600)
commitda51abb197cdb592311c19e5c140a4f4a138e5e0
treeb53588afcede1bfc0b1b4a373e3b856bea74e0f7
parent70cd35358874f3e920c2267360359af76bc63f1d
modify filters: better error on badly formatted filter

Instead of exiting with an uncaught exception on a badly formatted
modify filter, convert the exception to an ApplicationError that
will be logged, along with the line that is badly formatted.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3536
suricata/update/main.py