1
0
Fork 0

Fix error message for file download

main
Daniele Tricoli 5 months ago
parent 2c2331c371
commit 0ccb1226fc
  1. 2
      cmd/run.go

@ -113,7 +113,7 @@ the specified Mastodon account.`,
log.Printf("Downloading: %s\n", url)
file, err := downloadFile(url)
if err != nil {
log.Printf("Could not post status: %v", err)
log.Printf("Could not download file: %v", err)
continue
}
attachment, err := c.UploadMediaFromReader(

Loading…
Cancel
Save