mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-05 07:42:19 +00:00
Add logging for invalid data
This commit is contained in:
parent
46b90e6475
commit
0ed54031d1
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ type MatrixWebhook struct {
|
|||
|
||||
func sendToMatrix(m []metric) {
|
||||
if MATRIX_WEBHOOK_URL == "" {
|
||||
log.Println("Skipping posting to Matrix as missing env vars")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue