From 2b0da4f9ccdd488005f8b01c94153b4b41cad59c Mon Sep 17 00:00:00 2001 From: thuva4 Date: Wed, 22 Nov 2017 11:08:05 +0530 Subject: showing the response message in the pods page Edit the response from the server and remove the traceback part from the error response. Add create success alert. Change-Id: I887a9ca1b55050d961c6db1141c15203a978aec1 Signed-off-by: thuva4 --- testapi/opnfv_testapi/common/raises.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapi/opnfv_testapi/common/raises.py') diff --git a/testapi/opnfv_testapi/common/raises.py b/testapi/opnfv_testapi/common/raises.py index 55c58c9..5d89e32 100644 --- a/testapi/opnfv_testapi/common/raises.py +++ b/testapi/opnfv_testapi/common/raises.py @@ -15,7 +15,7 @@ class Raiser(object): code = httplib.OK def __init__(self, reason): - raise web.HTTPError(self.code, reason) + raise web.HTTPError(self.code, reason=reason) class BadRequest(Raiser): -- cgit 1.2.3-korg