Fix warning.
This commit is contained in:
parent
a8a715dbaa
commit
5910acc0eb
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ func NewBot() (bot *Bot, errch chan error, err error) {
|
|||
SecretToken: b.SecretToken(),
|
||||
})
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed setting up webhook: %w", err))
|
||||
panic(fmt.Sprintf("failed setting up webhook: %s", err))
|
||||
}
|
||||
info, err := b.GetWebhookInfo(ctx)
|
||||
fmt.Println(info, err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue