diff --git a/ingestion/monitoring/errorLogsToSlack.py b/ingestion/monitoring/errorLogsToSlack.py index e4e9615d3..52c7ffac0 100644 --- a/ingestion/monitoring/errorLogsToSlack.py +++ b/ingestion/monitoring/errorLogsToSlack.py @@ -82,7 +82,7 @@ def log_messages(cloudwatch_response, logger): log_messages(response, logger) oldNext = response['nextForwardToken'] if oldNext and len(oldNext) > 0: - hasMore = true + hasMore = True while hasMore: response = logClient.get_log_events( logGroupName=logGroup,