Skip to content

Commit

Permalink
Update src/typescript/sdk/src/indexer-v2/json-bigint.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt authored Jan 31, 2025
1 parent 60d862a commit 967d4c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/typescript/sdk/src/indexer-v2/json-bigint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const tryWithFallbackParse = (parser: (v: any) => any) => (v: any) => {
try {
return parser(v);
} catch {
// Log an error on the server.
console.error(`Failed to parse value: ${v}`);
return v;
}
};
Expand Down

0 comments on commit 967d4c3

Please sign in to comment.