Skip to content

Commit

Permalink
Fix another reference to the old exception
Browse files Browse the repository at this point in the history
  • Loading branch information
njsmith committed Dec 22, 2018
1 parent 8564b49 commit 0fd4716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio/_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def __init__(
def __getattr__(self, name):
if name in self._forwarded:
if name in self._after_handshake and not self._handshook.done:
raise _core.NoHandshakeError(
raise NeedHandshakeError(
"call do_handshake() before calling {!r}".format(name)
)

Expand Down

0 comments on commit 0fd4716

Please sign in to comment.