mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-03 14:52:19 +00:00
Log error
This commit is contained in:
parent
a54362231b
commit
7e82fd4eb6
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ func postToMastodon(metrics []metric) {
|
||||||
})
|
})
|
||||||
err := c.Authenticate(context.Background(), MASTODON_USERNAME, MASTODON_PASSWORD)
|
err := c.Authenticate(context.Background(), MASTODON_USERNAME, MASTODON_PASSWORD)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("Invalid mastodon credentials")
|
log.Println("Invalid mastodon credentials?")
|
||||||
|
log.Print(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue