diff options
author | Satya Rohith <me@satyarohith.com> | 2021-10-10 15:44:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 15:44:45 +0530 |
commit | 25771b3d9b36a7262d42809bfbb5497ed8057780 (patch) | |
tree | 47a41c2cb3b32b094ea9ca833c8bc28a3808ccb0 /cli/tests/testdata/resolve_dns.ts | |
parent | 66804d26f3c12849c7fef9c7a27cb7beff5e3709 (diff) |
feat(ext/net): relevant errors for resolveDns (#12370)
Diffstat (limited to 'cli/tests/testdata/resolve_dns.ts')
-rw-r--r-- | cli/tests/testdata/resolve_dns.ts | 4 |
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`); } |