mirror of https://github.com/2dust/v2rayN
Add subscription failure log
parent
118a920e57
commit
fc54e19ce2
|
@ -232,6 +232,11 @@ namespace v2rayN.Handler
|
||||||
}
|
}
|
||||||
|
|
||||||
int ret = ConfigHandler.AddBatchServers(ref config, result, id, true);
|
int ret = ConfigHandler.AddBatchServers(ref config, result, id, true);
|
||||||
|
if (ret <= 0)
|
||||||
|
{
|
||||||
|
Utils.SaveLog("FailedImportSubscription");
|
||||||
|
Utils.SaveLog(result);
|
||||||
|
}
|
||||||
_updateFunc(false,
|
_updateFunc(false,
|
||||||
ret > 0
|
ret > 0
|
||||||
? $"{hashCode}{ResUI.MsgUpdateSubscriptionEnd}"
|
? $"{hashCode}{ResUI.MsgUpdateSubscriptionEnd}"
|
||||||
|
|
Loading…
Reference in New Issue