diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-05 15:22:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 15:22:31 +0200 |
commit | 15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (patch) | |
tree | a236e2de82f91b8a36cb5228db119f116fe05c06 /tests/unit/tls_test.ts | |
parent | b54347c448ca4a003b81800655eb1433fc842b2a (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.ts | 4 |
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 }, ); } |