diff --git a/packages/service/src/fromProto.ts b/packages/service/src/fromProto.ts index 56f42fc..2c7d03c 100644 --- a/packages/service/src/fromProto.ts +++ b/packages/service/src/fromProto.ts @@ -11,7 +11,7 @@ export function transferVerificationRequestFromProto(pb: TransferVerificationReq const currency = ((): 'USD' => { const c = pb.trusted.currency; if (c === 'USD') return c; - else throw Error(`trusted.currency must be 'USD'`); + else throw Error(`trusted.currency must be 'USD' but it was '${c}'`); })(); const logicalAssetAmount: bigint = (() => { try {