Skip to content

Commit 283a184

Browse files
committed
Add debug info to service fromProto
1 parent d0603bf commit 283a184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service/src/fromProto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function transferVerificationRequestFromProto(pb: TransferVerificationReq
1111
const currency = ((): 'USD' => {
1212
const c = pb.trusted.currency;
1313
if (c === 'USD') return c;
14-
else throw Error(`trusted.currency must be 'USD'`);
14+
else throw Error(`trusted.currency must be 'USD' but it was '${c}'`);
1515
})();
1616
const logicalAssetAmount: bigint = (() => {
1717
try {

0 commit comments

Comments
 (0)