fix: adds warning for torrentio rate limit

This commit is contained in:
2025-06-19 23:08:08 -05:00
parent 2121466322
commit fca189648b
6 changed files with 20 additions and 6 deletions

View File

@@ -62,6 +62,7 @@ final class TorrentioController extends AbstractController
]);
});
} catch (TorrentioRateLimitException $exception) {
$this->broadcaster->alert('Warning', 'Torrentio has rate limited your requests. Please wait a few minutes before trying again.', 'warning');
return $this->render('bare.html.twig',
[],
new Response('Too many requests',