Project

General

Profile

« Previous | Next » 

Revision 51556af0

Added by Marc Dequènes about 13 years ago

  • ID 51556af000511e0a488faf03a33e80303ec93a76

[evol] Protocol: allow returning multiple errors

View differences:

lib/cyborghood/cyborg/botnet/dsl.rb
when :decline
# TODO: remove this case ???
when :error
subtask.errors << reply[:exception]
subtask.errors += reply[:exceptions]
end
subtask.finish
......
when :decline
# TODO: remove this case ???
when :error
subtask.errors << reply[:exception]
subtask.errors += reply[:exceptions]
end
subtask.finish

Also available in: Unified diff