checker: fix glue error report
This commit is contained in:
parent
a52bf0e52d
commit
c7a1812c9f
@ -484,7 +484,7 @@ func studentsChecker() {
|
||||
|
||||
// Check HTTP with DNS
|
||||
if glueErr != nil {
|
||||
std.RegisterChallengeError(100*(tunnel_version-1)+4, fmt.Errorf("Unable to perform the test due to GLUE problem: %w", err))
|
||||
std.RegisterChallengeError(100*(tunnel_version-1)+4, fmt.Errorf("Unable to perform the test due to GLUE problem: %w", glueErr))
|
||||
} else if err := check_http(addr.String(), std.MyDelegatedDomain()); err == nil {
|
||||
if verbose {
|
||||
log.Printf("%s just unlocked HTTP challenge\n", std.Login)
|
||||
@ -501,7 +501,7 @@ func studentsChecker() {
|
||||
|
||||
// Check HTTPs with DNS
|
||||
if glueErr != nil {
|
||||
std.RegisterChallengeError(100*(tunnel_version-1)+5, fmt.Errorf("Unable to perform the test due to GLUE problem: %w", err))
|
||||
std.RegisterChallengeError(100*(tunnel_version-1)+5, fmt.Errorf("Unable to perform the test due to GLUE problem: %w", glueErr))
|
||||
} else if err := check_https(std.MyDelegatedDomain(), addr.String()); err == nil {
|
||||
if verbose {
|
||||
log.Printf("%s just unlocked HTTPS challenge\n", std.Login)
|
||||
|
Reference in New Issue
Block a user