mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 00:53:56 +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
|
return args.messages
|
||||||
elif path in ("/api/v1/users/me/presence", "/json/users/me/presence"):
|
elif path in ("/api/v1/users/me/presence", "/json/users/me/presence"):
|
||||||
return args.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
|
return args.report
|
||||||
else:
|
else:
|
||||||
return not args.no_other
|
return not args.no_other
|
||||||
|
|||||||
Reference in New Issue
Block a user