better debugs

This commit is contained in:
Girish Ramakrishnan
2024-10-30 20:58:31 +01:00
parent b6023afb29
commit 553c256d31
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -77,6 +77,7 @@ async function setupTask(domain, auditSource) {
const location = { subdomain: constants.DASHBOARD_SUBDOMAIN, domain };
try {
debug(`setupTask: subdomain ${location.subdomain} and domain ${location.domain}`);
await dns.registerLocations([location], { overwriteDns: true }, (progress) => setProgress('setup', progress.message));
await dns.waitForLocations([location], (progress) => setProgress('setup', progress.message));
await reverseProxy.ensureCertificate(location, {}, auditSource);