mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-10 03:48:19 +02:00
BUGFIX: JsonException not caught if response is not JSON
This commit is contained in:
@@ -172,6 +172,10 @@ public class FlareSolverrDownloadClient : DownloadClient
|
||||
jsonString = pre.InnerText;
|
||||
return true;
|
||||
}
|
||||
catch (System.Text.Json.JsonException)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
catch (JsonReaderException)
|
||||
{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user