Skip to content

Commit

Permalink
打印错误信息
Browse files Browse the repository at this point in the history
  • Loading branch information
CuiYuXi committed Sep 22, 2020
1 parent 5d1be4e commit e354962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DDNS.Core/Plugin/DNSPod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void UpdateDNSPod(ConfigItem item, string ipv4, string ipv6)
}
else
{
Console.WriteLine(outRecordModify.record.ToString());
Console.WriteLine(JsonConvert.SerializeObject(outRecordModify.status));
}
}
else
Expand All @@ -135,7 +135,7 @@ public void UpdateDNSPod(ConfigItem item, string ipv4, string ipv6)
}
else
{
Console.WriteLine(outRecordCreate.record.ToString());
Console.WriteLine(JsonConvert.SerializeObject(outRecordCreate.status));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion DDNS.Core/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>False</PublishTrimmed>
<PublishReadyToRun>False</PublishReadyToRun>
</PropertyGroup>
</Project>

0 comments on commit e354962

Please sign in to comment.