1
0
Fork 0

Fix error message for file download

This commit is contained in:
Daniele Tricoli 2022-03-13 00:38:44 +01:00
parent 2c2331c371
commit 0ccb1226fc
1 changed files with 1 additions and 1 deletions

View File

@ -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(