Define empty return_parameter_dict in case of request error.

parent e9003f00
......@@ -131,6 +131,7 @@ class Recipe(object):
except (slapmodule.NotFoundError, slapmodule.ServerError, slapmodule.ResourceNotReady) as exc:
self._raise_request_exception = exc
self._raise_request_exception_formatted = traceback.format_exc()
return_parameter_dict = {}
for param in return_parameters:
options['connection-%s' % param] = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment