Skip to content

Commit

Permalink
verify: small adjustment to output
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed May 26, 2023
1 parent a1e1461 commit d545efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def check_domain(domain, enable_cdnlist: true)
begin
tld_ns = get_ns_for_tld(PublicSuffix.parse(domain, ignore_private: true).tld)
rescue PublicSuffix::DomainNotAllowed, PublicSuffix::DomainInvalid
yield nil, "Domain #{domain} isn't a valid domain"
yield nil, "Invalid domain #{domain}"
return nil
end
response, glue = self.resolve(
Expand Down

0 comments on commit d545efe

Please sign in to comment.