Commit 9a77c621 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix bug of incorrectly suppressed errors in CLI

Fixes grnet/kamaki#56

The bug is limited in "kamaki create network"
parent 9f5f4ee8
...@@ -5,6 +5,15 @@ Unified Changelog file for Kamaki versions >= 0.13 ...@@ -5,6 +5,15 @@ Unified Changelog file for Kamaki versions >= 0.13
.. _Changelog-0.13: .. _Changelog-0.13:
v0.13rc5
========
Bug fixes
---------
* Fix bug of incorrectly suppressed errors in "kamaki network create"
[grnet/kamaki#56]
v0.13rc4 v0.13rc4
======== ========
......
...@@ -210,6 +210,7 @@ class network_create(_NetworkInit, OptionalOutput): ...@@ -210,6 +210,7 @@ class network_create(_NetworkInit, OptionalOutput):
except ClientError as ce: except ClientError as ce:
if self['project_id'] and ce.status in (400, 403, 404): if self['project_id'] and ce.status in (400, 403, 404):
self._project_id_exists(project_id=self['project_id']) self._project_id_exists(project_id=self['project_id'])
raise
self.print_(net, self.print_dict) self.print_(net, self.print_dict)
def main(self): def main(self):
......
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