-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For instance, when subscribing to event-Scriptqueue-stream
instead of event-Scriptqueue-1-stream
it throws this error:
love-manager-mount | Exception inside application: 'stream'
love-manager-mount | File "/usr/local/lib/python3.6/site-packages/channels/consumer.py", line 59, in __call__
love-manager-mount | [receive, self.channel_receive], self.dispatch
love-manager-mount | File "/usr/local/lib/python3.6/site-packages/channels/utils.py", line 52, in await_many_dispatch
love-manager-mount | await dispatch(result)
love-manager-mount | File "/usr/local/lib/python3.6/site-packages/channels/consumer.py", line 73, in dispatch
love-manager-mount | await handler(message)
love-manager-mount | File "/usr/local/lib/python3.6/site-packages/channels/generic/websocket.py", line 196, in websocket_receive
love-manager-mount | await self.receive(text_data=message["text"])
love-manager-mount | File "/usr/local/lib/python3.6/site-packages/channels/generic/websocket.py", line 259, in receive
love-manager-mount | await self.receive_json(await self.decode_json(text_data), **kwargs)
love-manager-mount | File "/usr/src/love/subscription/consumers.py", line 66, in receive_json
love-manager-mount | stream = json_data['stream']
love-manager-mount | 'stream'
This kind of exception should cause a rejection message to notify that the subscription went wrong.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request