BUG: Attempting to subscribe to an invalid category ID causes the server to close #10
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hippoz/brainlet#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Subscribing to an invalid category ID closes the server.
As an example, if you send
42/gateway,["subscribe",["a"]]
through the websocket, the server closes.This seems to be happening on line api/v1/gateway/index.js:233
It seems like on Node v12.20.0, it doesn't crash, but instead creates a UnhandledPromiseRejectionWarning.
Can you send it here in a code block?
When I try to join the channel
a
, it tells me