Commit 8ab2a579 authored by Robin Obůrka's avatar Robin Obůrka

msgloop: Raise SetupError for generated output with no output socket

parent 8150aa17
......@@ -157,8 +157,7 @@ def process_result(socket_send, result):
return
if not socket_send:
# TODO: Hard fail?
raise LoopError("Box generated output but there is any output socket. Bad configuration?")
raise SetupError("Box generated output but there is any output socket. Bad configuration?")
msg_type, payload = result
msg_out = encode_msg(msg_type, payload)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment