@@ -118,6 +118,7 @@ func (ep *ErrorProcessor) ProcessError(error []byte) {
|
||||
Cmd: "bins/source-map",
|
||||
Args: []string{string(frames)},
|
||||
}
|
||||
fmt.Printf("frames %v", frames)
|
||||
|
||||
output, err := symbolicator.SymbolicatorClient(command)
|
||||
if err != nil {
|
||||
@@ -125,7 +126,7 @@ func (ep *ErrorProcessor) ProcessError(error []byte) {
|
||||
return
|
||||
}
|
||||
//make md5 hash of error
|
||||
hash := encoder.Md5Encode(string(error))
|
||||
hash := encoder.Md5Encode(string(frames))
|
||||
//creating es document
|
||||
println("processed document successfully saving it to elasticsearch", hash)
|
||||
errorDocument := &es.ErrorDocument{
|
||||
|
||||
Reference in New Issue
Block a user