Add subscription failure log

pull/3107/head
2dust 2023-01-07 20:15:20 +08:00
parent 118a920e57
commit fc54e19ce2
1 changed files with 5 additions and 0 deletions

View File

@ -232,6 +232,11 @@ namespace v2rayN.Handler
}
int ret = ConfigHandler.AddBatchServers(ref config, result, id, true);
if (ret <= 0)
{
Utils.SaveLog("FailedImportSubscription");
Utils.SaveLog(result);
}
_updateFunc(false,
ret > 0
? $"{hashCode}{ResUI.MsgUpdateSubscriptionEnd}"