aboutsummaryrefslogtreecommitdiff
path: root/mal/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'mal/status.go')
-rw-r--r--mal/status.go4
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)
+ }
}