-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using web sockets and a connection is closed, an error is logged which can be confusing -
Line 355 in be13918
| logging.error("WebSocket error: %s", e) |
Expected behavior
When simple-socket closes the connection, it raises a ConnectionClosed exception, which does not indicate an error. I think it would be useful to catch this specific exception and log at info level that the connection was closed and the reason code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working