-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hi 👋
I was trying to add a test on uvicorn, when conn.receive_data() was able to send a RemoteProtocolError without an error hint:
But the thing is... In the whole wsproto source code, there's always an event_hint being sent.
Can we make event_hint mandatory here?
wsproto/src/wsproto/utilities.py
Line 50 in a7d9ff0
| def __init__(self, message: str, event_hint: Optional[Event] = None) -> None: |
EDIT: See Kludex/uvicorn#1486.
Metadata
Metadata
Assignees
Labels
No labels