Commit 544fb8d5 authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Adding better logging

parent 26d53fbd
......@@ -175,11 +175,11 @@ class ManifestClient(BaseClient):
try:
resource_type_name = resource_type_pieces[1].replace('/', '-') #.split('/')[0]
except:
raise Exception('Unable to get resource type name from resource id')
raise Exception('Unable to get resource type name from resource id. Failing resource id is %s' % (resource_id))
try:
resource_uuid = resource_type_pieces[2]
except:
raise Exception('Unable to get uuid from resource id')
raise Exception('Unable to get uuid from resource id. Failing resource id is %s' % (resource_id))
return '%s:%s:%s' % (self.data_partition_id, resource_type_name, resource_uuid)
Supports Markdown
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