Explicitly check if there are Ids before trying to get items by a list of Ids
This commit is contained in:
@ -60,7 +60,7 @@ func concatFields(fields watermill.LogFields) string {
|
||||
full := ""
|
||||
|
||||
for key, val := range fields {
|
||||
full += fmt.Sprintf("%s=%s, ", key, val)
|
||||
full += fmt.Sprintf("%s=%v, ", key, val)
|
||||
}
|
||||
|
||||
if full != "" {
|
||||
|
Reference in New Issue
Block a user