haproxy_log_analysis icon indicating copy to clipboard operation
haproxy_log_analysis copied to clipboard

Update filters.py

Open m4ddav3 opened this issue 4 years ago • 1 comments

Some log lines don't contain a 'path' field, so filter_path fails when it is used. Checking the value first prevents it from bailing out.

m4ddav3 avatar Jul 16 '20 19:07 m4ddav3

Hi! Thanks for the PR! Indeed, if the path is missing it will fail. Do you have a log line that would show this?

If you could go the extra bit of adding a test and a changelog entry, I would merge it right away 🙂

gforcada avatar Jul 17 '20 08:07 gforcada