mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
log-search: Filter out /error_tracing endpoints.
This commit is contained in:
committed by
Tim Abbott
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
|
||||
|
Reference in New Issue
Block a user