Show More
@@ -763,6 +763,14 b' class httpv2executor(object):' | |||||
763 | f.set_result(result) |
|
763 | f.set_result(result) | |
764 | del results[request.requestid] |
|
764 | del results[request.requestid] | |
765 |
|
765 | |||
|
766 | elif action == 'error': | |||
|
767 | e = error.RepoError(meta['message']) | |||
|
768 | ||||
|
769 | if f: | |||
|
770 | f.set_exception(e) | |||
|
771 | else: | |||
|
772 | raise e | |||
|
773 | ||||
766 | else: |
|
774 | else: | |
767 | e = error.ProgrammingError('unhandled action: %s' % action) |
|
775 | e = error.ProgrammingError('unhandled action: %s' % action) | |
768 |
|
776 |
General Comments 0
You need to be logged in to leave comments.
Login now