Bug 704 Minor code change for exception details 59/7559/1
authormadavi <jm00553988@techmahindra.com>
Tue, 28 May 2019 05:26:29 +0000 (10:56 +0530)
committermadavi <jm00553988@techmahindra.com>
Tue, 28 May 2019 05:26:29 +0000 (10:56 +0530)
Change-Id: I66bb530b17a774de1bc328182e53eb4035f09121
Signed-off-by: madavi <jm00553988@techmahindra.com>
osmclient/sol005/nsd.py

index b134461..873be5b 100644 (file)
@@ -116,7 +116,7 @@ class Nsd(object):
             msg = ""
             if resp:
                 try:
-                    resp = json.loads(resp)
+                    msg = json.loads(resp)
                 except ValueError:
                     msg = resp
             raise ClientException("failed to delete nsd {} - {}".format(name, msg))