diff --git a/examples/interaction-view/main.go b/examples/interaction-view/main.go index 3d628af..4d886af 100644 --- a/examples/interaction-view/main.go +++ b/examples/interaction-view/main.go @@ -96,7 +96,7 @@ func moodCmdHandler(ctx *slacker.CommandContext) { moodSurveyView, ) if err != nil { - log.Printf("ERROR openEscalationModal: %v", err) + fmt.Printf("ERROR openEscalationModal: %v\n", err) } } @@ -111,8 +111,6 @@ func moodViewHandler(ctx *slacker.InteractionContext) { ) } case slack.InteractionTypeViewClosed: - { - fmt.Print("Mood view closed.\n") - } + fmt.Print("Mood view closed.\n") } }