##// END OF EJS Templates
hooks: handle errors before trying to fetch the output.
marcink -
r553:7b8645d6 default
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