diff --git a/packages/common/src/hexToResource.ts b/packages/common/src/hexToResource.ts index 1ccf25e506..94178a9ed2 100644 --- a/packages/common/src/hexToResource.ts +++ b/packages/common/src/hexToResource.ts @@ -24,9 +24,7 @@ export function hexToResource(hex: Hex): Resource { const name = hexToString(sliceHex(hex, 16, 32)).replace(/\0+$/, ""); if (!type) { - throw new Error( - `Unknown type (${resourceTypeId}) for resource (${resourceTypeId}:${resourceToLabel({ namespace, name })})` - ); + throw new Error(`Unknown type (${resourceTypeId}) for resource (${resourceToLabel({ namespace, name })})`); } return { resourceId: hex, type, namespace, name };