Commit Graph

7 Commits

Author SHA1 Message Date
48a6005725 feat(mal): add comprehensive error handling
MALFunctions.go:
- Update MALHelper to return (json.RawMessage, string, error)
- Add network error handling and proper request error checking
- Update GetMyAnimeList to return (MALWatchlist, error)
- Update MyAnimeListUpdate to return (MalListStatus, error)
- Update GetMyAnimeListAnime to return (MALAnime, error)
- Update DeleteMyAnimeListEntry to return (bool, error)

MALUserFunctions.go:
- Replace log.Fatalf with log.Printf in server error handling
- Prevent server shutdown on OAuth callback errors

All MAL API calls now properly propagate errors to frontend.
2026-03-30 20:08:16 -04:00
77dc48fcf2 removed unnecessary println and console.log 2024-09-18 14:10:49 -04:00
00930f611e added ability to delete entries. Added MAL RefreshToken Function 2024-09-18 14:05:41 -04:00
77e361b5b2 rewrote the Anime.svelte to move out helper functions and clean up code 2024-09-05 15:29:42 -04:00
862c78d3b8 added MAL update status and submit loader 2024-08-16 18:15:56 -04:00
fb2d5fbdea added ability to get anime as needed from MAL 2024-08-16 15:07:06 -04:00
22ff290a81 added getting MAL watchlist 2024-08-15 21:27:31 -04:00