fix error when no size is provided at vnfd:vdus:volumes
Change-Id: I092245407d4acdb75b373e40905d9fc2e2b44b20
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_ro/httpserver.py b/osm_ro/httpserver.py
index 755ba11..b3b55b2 100644
--- a/osm_ro/httpserver.py
+++ b/osm_ro/httpserver.py
@@ -248,7 +248,7 @@
js_v(client_data, used_schema)
return client_data, used_schema
- except (ValueError, yaml.YAMLError) as exc:
+ except (TypeError, ValueError, yaml.YAMLError) as exc:
error_text += str(exc)
logger.error(error_text)
bottle.abort(HTTP_Bad_Request, error_text)