Skip to content

Commit 100b94b

Browse files
committed
refactor: simplify print statement
1 parent 377cff6 commit 100b94b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/bot/fallbackhandler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ func fallbackCallbackHandler(b *gotgbot.Bot, ctx *ext.Context) error {
2323

2424
// fallbackCommandHandler handles messates with unknown commands. It does not reply to the user.
2525
func fallbackCommandHandler(_ *gotgbot.Bot, ctx *ext.Context) error {
26-
log.Println(fmt.Sprintf("User sent unimplemented command: %s", ctx.Message.Text))
26+
log.Printf("User sent unimplemented command: %s\n", ctx.Message.Text)
2727
return nil
2828
}

0 commit comments

Comments
 (0)