diff --git a/core/lib/manage/threshold.py b/core/lib/manage/threshold.py index efdecd0..7576945 100644 --- a/core/lib/manage/threshold.py +++ b/core/lib/manage/threshold.py @@ -168,7 +168,6 @@ def construct_alert_query(): def get_irc_alerts(user): query = construct_alert_query() - print("QUERY1", query) results = run_main_query( client, user, # passed through run_main_query to filter_blacklisted @@ -176,7 +175,6 @@ def get_irc_alerts(user): custom_query=True, index=settings.OPENSEARCH_INDEX_INT, ) - print("ALERTS", results) if not results: return [] results_parsed = [] diff --git a/core/lib/opensearch.py b/core/lib/opensearch.py index 9f1ee43..26b88fd 100644 --- a/core/lib/opensearch.py +++ b/core/lib/opensearch.py @@ -124,7 +124,6 @@ def run_main_query(client, user, query, custom_query=False, index=None, size=Non try: response = client.search(body=search_query, index=index) except RequestError as err: - print(err) return False filter_blacklisted(user, response) return response