Merge "Fill the msg of exception"

This commit is contained in:
Zuul 2021-06-09 08:50:44 +00:00 committed by Gerrit Code Review
commit 5ea67883e1
1 changed files with 2 additions and 2 deletions

View File

@ -261,8 +261,8 @@ class ExtARQ(base.CyborgObject, object_base.VersionedObjectDictCompat,
db_extarq['attach_handle_info'] = db_ah['attach_info']
else:
raise exception.ResourceNotFound(
resource='attach handle',
msg='')
resource='Attach Handle',
msg='with uuid=%s' % db_extarq['attach_handle_id'])
if db_extarq['deployable_id']:
dep = objects.Deployable.get_by_id(db_extarq['deployable_id'])