BUGFIX: JsonException not caught if response is not JSON

This commit is contained in:
PBX_g33k
2025-08-22 17:41:32 +02:00
parent e063cf1fd9
commit 1ff3673adb

View File

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