diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 352f8d49ef5f20..38fcd84bbbe03f 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -1265,7 +1265,7 @@ E('ERR_INVALID_TUPLE', '%s must be an iterable %s tuple', TypeError); E('ERR_INVALID_URI', 'URI malformed', URIError); E('ERR_INVALID_URL', function(input) { this.input = input; - return `Invalid URL: ${input}`; + return 'Invalid URL'; }, TypeError); E('ERR_INVALID_URL_SCHEME', (expected) => {