diff options
| author | Fuwn <[email protected]> | 2023-08-28 01:32:59 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-08-28 01:32:59 -0700 |
| commit | 9a72b389495a9714026868c72bad31394884e519 (patch) | |
| tree | 98d5a278e2ec409fcde539f6811147829fbe675e /src | |
| parent | fix(callback): instant log in (diff) | |
| download | due.moe-9a72b389495a9714026868c72bad31394884e519.tar.xz due.moe-9a72b389495a9714026868c72bad31394884e519.zip | |
feat(list): error handling
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/List/Due/AnimeList.svelte | 15 | ||||
| -rw-r--r-- | src/lib/List/Due/MangaList.svelte | 15 |
2 files changed, 24 insertions, 6 deletions
diff --git a/src/lib/List/Due/AnimeList.svelte b/src/lib/List/Due/AnimeList.svelte index a7b8960c..366adfc4 100644 --- a/src/lib/List/Due/AnimeList.svelte +++ b/src/lib/List/Due/AnimeList.svelte @@ -151,11 +151,20 @@ {/each} </ul> {:catch} + <summary>Anime [?] <small style="opacity: 50%">0s</small></summary> + <ul> <li> - Media could not be loaded. You might have been <a - href="https://en.wikipedia.org/wiki/Rate_limiting">rate limited</a - >. + <p> + Media could not be loaded. You might have been <a + href="https://en.wikipedia.org/wiki/Rate_limiting" + target="_blank">rate limited</a + >. + </p> + <p> + Try again in a few minutes. If the problem persists, please contact + <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. + </p> </li> </ul> {/await} diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte index 4f7dd595..5d605276 100644 --- a/src/lib/List/Due/MangaList.svelte +++ b/src/lib/List/Due/MangaList.svelte @@ -125,11 +125,20 @@ {/each} </ul> {:catch} + <summary>Manga [?] <small style="opacity: 50%">0s</small></summary> + <ul> <li> - Media could not be loaded. You might have been <a - href="https://en.wikipedia.org/wiki/Rate_limiting">rate limited</a - >. + <p> + Media could not be loaded. You might have been <a + href="https://en.wikipedia.org/wiki/Rate_limiting" + target="_blank">rate limited</a + >. + </p> + <p> + Try again in a few minutes. If the problem persists, please contact + <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. + </p> </li> </ul> {/await} |