19 Commits

Author SHA1 Message Date
bc497521e7 feat(simkl): add comprehensive error handling
SimklFunctions.go:
- Update SimklHelper to return (json.RawMessage, error)
- Add status code validation (200-299 range)
- Update SimklGetUserWatchlist to return (SimklWatchListType, error)
- Update SimklSyncEpisodes to return (SimklAnime, error)
- Update SimklSyncRating to return (SimklAnime, error)
- Update SimklSyncStatus to return (SimklAnime, error)
- Update SimklSearch to return (SimklAnime, error)
- Update SimklSyncRemove to return (bool, error)
- Add proper error wrapping for all failure scenarios

SimklUserFunctions.go:
- Replace log.Fatalf with log.Printf in server error handling (line 119)
- Replace log.Fatal with log.Printf in JSON marshaling (line 141)

All Simkl API calls now properly propagate errors to frontend.
2026-03-30 20:08:20 -04:00
61f8f5dd84 removed println from simkl body 2025-02-15 18:48:17 -05:00
5ee9c42352 cleaned up errors in go code 2024-12-15 00:19:48 -05:00
ea2c4475de changed url for simkl to pull all lists, not just watching fixed several simkl bugs 2024-09-24 18:44:42 -04:00
572366eb91 updated table when entries are deleted and fixed simkl watchlist 2024-09-18 15:06:35 -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
74afb317d1 fixed bug where app panics if anime doesn't exist on Simkl 2024-09-16 19:11:23 -04:00
9f8014ff00 made SimklWatchList variable more clear as to which watchlist it is 2024-09-15 07:59:19 -04:00
4c329d6b9d fixed a bug in simkl where nothing loads if it does not have an anilist id 2024-09-14 23:58:09 -04:00
e3ed5bb2b9 fixed simkl and anilist syncing bugs 2024-08-19 08:09:03 -04:00
4d9012b43c Fixed Simkl Bugs 2024-08-18 17:23:09 -04:00
55cb0e2bd5 switched from .env to built-in envrionment file 2024-08-16 23:32:16 -04:00
1b08918d8e added ability to change simkl status 2024-08-11 19:42:52 -04:00
a6b26171d4 added ability to change simkl rating 2024-08-11 18:32:44 -04:00
8a6b3bd2b7 added ability to update simkl episode count 2024-08-11 12:20:26 -04:00
c95b658131 created get simkl watchlist function 2024-07-30 20:40:16 -04:00
237958cce5 added simkl login to backend 2024-07-30 12:59:06 -04:00
0ed827fc9a added simkl gettoken to bruno 2024-07-30 12:57:08 -04:00