##// END OF EJS Templates
hooks: handle errors before trying to fetch the output.
marcink -
r529:548d9d51 stable
parent child Browse files
Show More
@@ -143,8 +143,9 b' def _call_hook(hook_name, extras, writer'
143 143 log.debug('Hooks, using client:%s', hooks_client)
144 144 result = hooks_client(hook_name, extras)
145 145 log.debug('Hooks got result: %s', result)
146
147 _handle_exception(result)
146 148 writer.write(result['output'])
147 _handle_exception(result)
148 149
149 150 return result['status']
150 151
General Comments 0
You need to be logged in to leave comments. Login now