log-search: Filter out /error_tracing endpoints.

This commit is contained in:
Alex Vandiver 2023-05-05 21:09:07 +00:00 committed by Tim Abbott
parent 5113f4e2e9
commit 94495bef18
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ def passes_filters(
return args.messages
elif path in ("/api/v1/users/me/presence", "/json/users/me/presence"):
return args.presence
elif path.startswith(("/api/v1/report/", "/json/report/")):
elif path.startswith(("/api/v1/report/", "/json/report/")) or path == "/error_tracing":
return args.report
else:
return not args.no_other