Skip to content

Commit

Permalink
BigInt can't be JSON.stringify'd, so don't try to do that.
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jan 15, 2024
1 parent 455f32c commit 613d8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function useTrace(features: WASIFeatureProvider[]): WASIFeatureProvider {
}
wasiImport[key] = (...args: any[]) => {
const result = original(...args);
console.log(`[uwasi-tracing] ${key}(${args.map(a => JSON.stringify(a)).join(', ')}) => ${result}`);
console.log(`[uwasi-tracing] ${key}(${args.join(', ')}) => ${result}`);
return result;
}
}
Expand Down

0 comments on commit 613d8b6

Please sign in to comment.