Skip to content

Commit

Permalink
Add debug logging to StatusPageDomainService.ts for debugging failing…
Browse files Browse the repository at this point in the history
… domain verification requests.
  • Loading branch information
Johncs2d authored and John Balansag committed Aug 23, 2024
1 parent b202b07 commit 4e7d1d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Common/Server/Services/StatusPageDomainService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ export class Service extends DatabaseService<StatusPageDomain> {
});

return true;
} else{
logger.debug("CNAME verification fails for http endpoint");
logger.debug(result.data);
}

// try with https
Expand All @@ -272,6 +275,9 @@ export class Service extends DatabaseService<StatusPageDomain> {
});

return true;
} else{
logger.debug("CNAME verification fails for https endpoint");
logger.debug(result.data);
}

await this.updateCnameStatusForStatusPageDomain({
Expand Down

0 comments on commit 4e7d1d5

Please sign in to comment.