Revision 2eaae89a
Added by Marc Dequènes over 13 years ago
- ID 2eaae89add92b09872b6398b6a40883ae6d61b0a
lib/cyborghood/cyborg/botnet/protocol.rb | ||
---|---|---|
|
||
def process_request_result(result)
|
||
# TODO: better processing of result (info/warnings/…)
|
||
if result[:error]
|
||
if result[:errors]
|
||
send_error_action(result[:reply_message], result[:errors])
|
||
else
|
||
send_reply_result(result[:reply_message], result[:results])
|
Also available in: Unified diff
[fix] Protocol: typo leading to error result not detected