fix: noisy domain expiry checks in monitor editor and missing debuggability (#6637)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Joseph Adams
2026-01-08 05:22:08 +00:00
committed by GitHub
co-authored by Frank Elsinga autofix-ci[bot]
parent e31ef63b01
commit 0eca301181
9 changed files with 373 additions and 95 deletions
+6 -2
View File
@@ -698,7 +698,7 @@ let needSetup = false;
callback({
ok: false,
msg: e.message,
msgi18n: !!e.msgi18n,
msgi18n: !!e.msgi18n
});
}
});
@@ -990,14 +990,18 @@ let needSetup = false;
try {
checkLogin(socket);
const DomainExpiry = require("./model/domain_expiry");
const supportInfo = await DomainExpiry.checkSupport(partial);
callback({
ok: true,
domain: (await DomainExpiry.forMonitor(partial))?.domain || null
domain: supportInfo.domain,
tld: supportInfo.tld
});
} catch (e) {
callback({
ok: false,
msg: e.message,
msgi18n: !!e.msgi18n,
meta: e.meta ?? {}
});
}
});