TP-5555 | symbolicator update

This commit is contained in:
varnit goyal
2025-01-09 16:16:08 +05:30
parent b8272edc40
commit 43414057b5
2 changed files with 4 additions and 4 deletions

View File

@@ -77,8 +77,6 @@ func (el *ElasticSearchClient) SearchDocuments(searchRequest string, fields []st
}
}
log.Printf("%s", aggregations)
return results, aggregations, res.Hits.Total.Value, nil
}
@@ -101,7 +99,9 @@ func (el *ElasticSearchClient) GetStackTraceByErrorHash(errorHash string, projec
filteredDoc := map[string]interface{}{}
if len(response) > 0 {
stackFrame, ok := response[0]["stack_trace"]
println("ok", ok)
if !ok {
log.Printf("Error getting the stack trace")
}
filteredDoc["stack_trace"] = stackFrame
}