diff --git a/occi_os_api/nova_glue/storage.py b/occi_os_api/nova_glue/storage.py index eaab23a..e49e447 100644 --- a/occi_os_api/nova_glue/storage.py +++ b/occi_os_api/nova_glue/storage.py @@ -110,7 +110,10 @@ def get_image(uid, context): """ Return details on an image. """ - return IMAGE_API.show(context, uid) + try: + return IMAGE_API.show(context, uid) + except exception.ImageNotFound as err: + raise AttributeError(str(err)) def get_image_architecture(uid, context):