Passing wrong payload to sc-server's `create_elements_by_scs` causes a crash
Closed this issue · 1 comments
FallenChromium commented
Describe the bug
After sending an empty payload to create_elements_by_scs
method of SC-JSON API provided by sc-server
it crashed with SIGABRT.
To Reproduce
Steps to reproduce the behavior:
- Start sc-server
- Establish a websocket connection
- Send empty payload to
create_elements_by_scs
endpoint
Expected behavior
I am not sure if it should raise an error or pass it as a valid construction, but it definitely shouldn't stop execution.
Desktop (please complete the following information):
- OS: Ubuntu 20.04 in Docker
- Version 0.7.0
NikitaZotov commented
Fixed in #137