diff --git a/src/core/operations/DNSOverHTTPS.mjs b/src/core/operations/DNSOverHTTPS.mjs index e0884430..06519f48 100644 --- a/src/core/operations/DNSOverHTTPS.mjs +++ b/src/core/operations/DNSOverHTTPS.mjs @@ -20,11 +20,11 @@ class HTTPSOverDNS extends Operation { this.name = "DNS over HTTPS"; this.module = "Code"; - this.description = ["Takes a single domain name and performs a DNS lookup using DNS vver HTTPS.", + this.description = ["Takes a single domain name and performs a DNS lookup using DNS over HTTPS.", "

", "By default, Cloudflare and Google DNS over HTTPS services are supported.", "

", - "Can be used with any service that supports the GET paramaters name and type."].join('\n'); + "Can be used with any service that supports the GET parameters name and type."].join('\n'); this.infoURL = "https://en.wikipedia.org/wiki/DNS_over_HTTPS"; this.inputType = "string"; this.outputType = "JSON"; @@ -55,7 +55,7 @@ class HTTPSOverDNS extends Operation { ] }, { - name: "Show Just Answer Data", + name: "Answer Data Only", type: "boolean", value: false }, @@ -92,7 +92,8 @@ class HTTPSOverDNS extends Operation { } return data; - }).catch(e => {throw new OperationError("Error making request to :" + url + e.toString())}) + }).catch(e => {throw new OperationError("Error making request to : " + url + "\n" + + "Error Message: " + e.toString())}) }