Skip to content

Commit

Permalink
updated error message to better reflect the situation
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 31, 2024
1 parent 191f007 commit 15ffd84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plogical/backupUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,6 @@ def startRestore(backupName, dir):
try:
version = backupMetaData.find('VERSION').text
build = backupMetaData.find('BUILD').text

twoPointO = 1
except:
twoPointO = 0
Expand Down
2 changes: 1 addition & 1 deletion plogical/virtualHostUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def OnBoardingHostName(Domain, tempStatusPath, skipRDNSCheck):
SSLProvider = x509.get_issuer().get_components()[1][1].decode('utf-8')

if SSLProvider == 'Denial':
message = 'Failed to issue Hostname SSL, either its DNS record is not propagated or the domain is behind Cloudflare. [404]'
message = 'Failed to issue Hostname SSL, either its DNS record is not propagated or the domain is behind Cloudflare. If DNS is already propagated you might have reached Lets Encrypt limit, please wait before trying again.. [404]'
logging.CyberCPLogFileWriter.statusWriter(tempStatusPath, message)
logging.CyberCPLogFileWriter.writeToFile(message)
config['hostname'] = Domain
Expand Down

0 comments on commit 15ffd84

Please sign in to comment.