From 1ff3673adbbedee518a023b9d058d39851318498 Mon Sep 17 00:00:00 2001 From: PBX_g33k Date: Fri, 22 Aug 2025 17:41:32 +0200 Subject: [PATCH] BUGFIX: JsonException not caught if response is not JSON --- API/MangaDownloadClients/FlareSolverrDownloadClient.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/API/MangaDownloadClients/FlareSolverrDownloadClient.cs b/API/MangaDownloadClients/FlareSolverrDownloadClient.cs index b76e090..d672895 100644 --- a/API/MangaDownloadClients/FlareSolverrDownloadClient.cs +++ b/API/MangaDownloadClients/FlareSolverrDownloadClient.cs @@ -172,6 +172,10 @@ public class FlareSolverrDownloadClient : DownloadClient jsonString = pre.InnerText; return true; } + catch (System.Text.Json.JsonException) + { + return false; + } catch (JsonReaderException) { return false;