diff options
Diffstat (limited to 'docker/storperf-master/rest_server.py')
-rw-r--r-- | docker/storperf-master/rest_server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py index 9280721..67d2d05 100644 --- a/docker/storperf-master/rest_server.py +++ b/docker/storperf-master/rest_server.py @@ -199,8 +199,9 @@ class Configure(Resource): ) def delete(self): try: - storperf.delete_stack() + return jsonify({'stack_id': storperf.delete_stack()}) except Exception as e: + self.logger.exception(e) abort(400, str(e)) @@ -355,6 +356,7 @@ for any single test iteration. return jsonify({'job_id': job_id}) except Exception as e: + self.logger.exception(e) abort(400, str(e)) @swagger.operation( |