summaryrefslogtreecommitdiff
path: root/tests/unit/tls_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-05 15:22:31 +0200
committerGitHub <noreply@github.com>2024-09-05 15:22:31 +0200
commit15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (patch)
treea236e2de82f91b8a36cb5228db119f116fe05c06 /tests/unit/tls_test.ts
parentb54347c448ca4a003b81800655eb1433fc842b2a (diff)
feat(check): turn on useUnknownInCatchVariables (#25465)
Part of #25162 Closes #11826
Diffstat (limited to 'tests/unit/tls_test.ts')
-rw-r--r--tests/unit/tls_test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/tls_test.ts b/tests/unit/tls_test.ts
index 1facd0f98..e5b9a02c3 100644
--- a/tests/unit/tls_test.ts
+++ b/tests/unit/tls_test.ts
@@ -588,7 +588,9 @@ async function receiveAlotSendNothing(conn: Deno.Conn) {
}
} catch (e) {
throw new Error(
- `Got an error (${e.message}) after reading ${nread}/${largeAmount} bytes`,
+ `Got an error (${
+ (e as Error).message
+ }) after reading ${nread}/${largeAmount} bytes`,
{ cause: e },
);
}