You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Culprit is a call to .expect() in both connectTls and startTls. Should be a regular exception instead of a panic.
Trivial repro:
> await Deno.connectTls({hostname: '8.8.8.8', port: 443})thread 'main' panicked at 'Invalid DNS lookup: InvalidDNSNameError', runtime/ops/tls.rs:208:45note: run with `RUST_BACKTRACE=1` environment variable to display a backtracethread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Object({"id": Number(2), "error": Object({"code": Number(-32000), "message": String("Execution context was destroyed.")})})', runtime/inspector.rs:978:8stack backtrace:...
The text was updated successfully, but these errors were encountered:
Culprit is a call to
.expect()
in bothconnectTls
andstartTls
. Should be a regular exception instead of a panic.Trivial repro:
The text was updated successfully, but these errors were encountered: