Skip to content

Commit

Permalink
Merge pull request OneUptime#1653 from Johncs2d/master
Browse files Browse the repository at this point in the history
Add debug logging to StatusPageDomainService.ts for debugging failing…
  • Loading branch information
simlarsen authored Aug 23, 2024
2 parents b202b07 + 4e7d1d5 commit 67f1ad9
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 67f1ad9

Please sign in to comment.