mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-10-27 02:51:17 +00:00
Update WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/IpQuery.cs
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
5fb255e1e3
commit
8cfff666e4
|
|
@ -94,7 +94,7 @@ namespace WelsonJS.Launcher.ResourceTools
|
||||||
|
|
||||||
if (string.IsNullOrWhiteSpace(prefix) || string.IsNullOrWhiteSpace(key))
|
if (string.IsNullOrWhiteSpace(prefix) || string.IsNullOrWhiteSpace(key))
|
||||||
{
|
{
|
||||||
node.Add(new XAttribute("status", 500));
|
node.Add(new XAttribute("status", 503));
|
||||||
node.Add(new XElement("error", "Missing configuration for " + provider));
|
node.Add(new XElement("error", "Missing configuration for " + provider));
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user