Log error

This commit is contained in:
idanoo 2023-01-30 11:59:57 +13:00
parent a54362231b
commit 7e82fd4eb6
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -21,7 +21,8 @@ func postToMastodon(metrics []metric) {
})
err := c.Authenticate(context.Background(), MASTODON_USERNAME, MASTODON_PASSWORD)
if err != nil {
log.Println("Invalid mastodon credentials")
log.Println("Invalid mastodon credentials?")
log.Print(err)
return
}