projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix error when no size is provided at vnfd:vdus:volumes
[osm/RO.git]
/
osm_ro
/
httpserver.py
diff --git
a/osm_ro/httpserver.py
b/osm_ro/httpserver.py
index
755ba11
..
b3b55b2
100644
(file)
--- a/
osm_ro/httpserver.py
+++ b/
osm_ro/httpserver.py
@@
-248,7
+248,7
@@
def format_in(default_schema, version_fields=None, version_dict_schema=None, con
js_v(client_data, used_schema)
return client_data, used_schema
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)
error_text += str(exc)
logger.error(error_text)
bottle.abort(HTTP_Bad_Request, error_text)