[go: nahoru, domu]

Skip to content

Commit

Permalink
fix: webhook log (goharbor#15756)
Browse files Browse the repository at this point in the history
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

Co-authored-by: Shengwen Yu <yshengwen@vmware.com>
  • Loading branch information
zyyw and Shengwen Yu committed Oct 13, 2021
1 parent 4632e49 commit 4d89c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (nw *NotificationWatcher) Notify(notification Notification) error {
// Currently, we just log the error
log.Errorf("Error occurred when triggering handler %s of topic %s: %s\n", reflect.TypeOf(hd).String(), notification.Topic, err.Error())
} else {
log.Infof("Handle notification with Handler '%s' on topic '%s': %s\n", hd.Name(), notification.Topic, notification.Value)
log.Infof("Handle notification with Handler '%s' on topic '%s': %+v\n", hd.Name(), notification.Topic, notification.Value)
}
}()
}(h, handlerChan)
Expand Down

0 comments on commit 4d89c84

Please sign in to comment.