From 5ac21806f34a7c88d2685420d53cbd585f4b4f3d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 13 Jun 2022 19:51:47 +0530 Subject: updating episodes now --- mal/status.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mal/status.go') 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) + } } -- cgit v1.2.3