diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-06-13 19:51:47 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-06-13 19:51:47 +0530 |
commit | 5ac21806f34a7c88d2685420d53cbd585f4b4f3d (patch) | |
tree | fa8a1955702a46ba8aaa4d2069551cc8f4433c39 /mal/status.go | |
parent | c37e75f4723f745edd54a3dcd57f3ecf2aab4c83 (diff) |
updating episodes now
Diffstat (limited to 'mal/status.go')
-rw-r--r-- | mal/status.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mal/status.go b/mal/status.go index 1f64bab..06d7773 100644 --- a/mal/status.go +++ b/mal/status.go @@ -24,5 +24,7 @@ import ( func SetStatus(animeId int, status string) { resp, _ := userAnimeClient.SetStatus(animeId, status) - log.Println(resp.Error, resp.Message) + if resp.Error != "" { + log.Println("MyAnimeList reported error on SetStatus", resp.Error, resp.Message) + } } |