summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/resolve_dns.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/resolve_dns.ts')
-rw-r--r--cli/tests/testdata/resolve_dns.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/testdata/resolve_dns.ts b/cli/tests/testdata/resolve_dns.ts
index d765e0536..e4a50f7dc 100644
--- a/cli/tests/testdata/resolve_dns.ts
+++ b/cli/tests/testdata/resolve_dns.ts
@@ -37,6 +37,6 @@ console.log(JSON.stringify(txt));
try {
await Deno.resolveDns("not-found-example.com", "A", nameServer);
-} catch (_e) {
- console.log("Error thrown for not-found-example.com");
+} catch (e) {
+ console.log(`Error ${e.name} thrown for not-found-example.com`);
}