mirror of https://github.com/zulip/zulip.git
log-search: Filter out /error_tracing endpoints.
This commit is contained in:
parent
5113f4e2e9
commit
94495bef18
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue