Skip to content

Commit

Permalink
Add debug info to service fromProto
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanberckmans committed Jul 16, 2024
1 parent d0603bf commit 283a184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service/src/fromProto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 283a184

Please sign in to comment.