TP-5555 | hotfix for error
This commit is contained in:
@@ -142,7 +142,11 @@ func (ep *ErrorProcessor) ProcessError(error []byte) {
|
||||
ep.logger.Error("error in unmarshalling exception", zap.Error(err))
|
||||
return
|
||||
}
|
||||
extraMap := payload.Extra.(map[string]interface{})
|
||||
extraMap, conversionOk := payload.Extra.(map[string]interface{})
|
||||
if !conversionOk {
|
||||
ep.logger.Error("error in unmarshalling exception")
|
||||
return
|
||||
}
|
||||
releaseId, ok := extraMap["release_id"].(string)
|
||||
if !ok {
|
||||
ep.logger.Error("Release id is not found")
|
||||
|
||||
Reference in New Issue
Block a user