Skip to content

Commit

Permalink
EmitErrorEventKv panic fixed (TykTechnologies#1927)
Browse files Browse the repository at this point in the history
  • Loading branch information
dencoded authored and buger committed Oct 6, 2018
1 parent 55617d9 commit 227cdf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func EmitErrorEvent(jobName string, funcName string, err error) {
}

func EmitErrorEventKv(jobName string, funcName string, err error, kv map[string]string) {
if Instrument != nil {
if Instrument == nil {
return
}

Expand Down

0 comments on commit 227cdf3

Please sign in to comment.