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

Adding better logging

parent 26d53fbd
...@@ -175,11 +175,11 @@ class ManifestClient(BaseClient): ...@@ -175,11 +175,11 @@ class ManifestClient(BaseClient):
try: try:
resource_type_name = resource_type_pieces[1].replace('/', '-') #.split('/')[0] resource_type_name = resource_type_pieces[1].replace('/', '-') #.split('/')[0]
except: 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: try:
resource_uuid = resource_type_pieces[2] resource_uuid = resource_type_pieces[2]
except: 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) 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