diff --git a/service/ErrorProcessor.go b/service/ErrorProcessor.go index 95e0e7b..0733e92 100644 --- a/service/ErrorProcessor.go +++ b/service/ErrorProcessor.go @@ -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{