interact: fix logger call

This commit is contained in:
c9s 2022-01-23 14:21:20 +08:00
parent 7b572120a1
commit 5790c10a38

View File

@ -413,7 +413,7 @@ func (s *Slack) listen(ctx context.Context) {
case *slack.ModalViewRequest:
if resp, err := s.socket.OpenView(slashCmd.TriggerID, *o); err != nil {
log.WithError(err).Error("[slack] view open error, resp: %+v", resp)
log.WithError(err).Errorf("[slack] view open error, resp: %+v", resp)
}
s.socket.Ack(*evt.Request)