MCPcopy Index your code
hub / github.com/simstudioai/sim / stringifyLogValue

Function stringifyLogValue

apps/sim/lib/execution/isolated-vm-worker.cjs:63–73  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

61}
62
63function stringifyLogValue(value) {
64 if (typeof value !== 'object' || value === null) {
65 return String(value)
66 }
67
68 try {
69 return JSON.stringify(value)
70 } catch {
71 return '[unserializable]'
72 }
73}
74
75/**
76 * Extract line and column from error stack or message

Callers 2

executeCodeFunction · 0.85
executeTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected