Merge pull request #424 from PBXg33k/bugfix/jsonexception

[V2] BUGFIX: JsonException not caught if response is not JSON
This commit is contained in:
2025-08-22 20:59:14 +02:00
committed by GitHub

View File

@@ -172,6 +172,10 @@ public class FlareSolverrDownloadClient : DownloadClient
jsonString = pre.InnerText; jsonString = pre.InnerText;
return true; return true;
} }
catch (System.Text.Json.JsonException)
{
return false;
}
catch (JsonReaderException) catch (JsonReaderException)
{ {
return false; return false;