Sleepless night

lol and there goes a night 😄
`
[20:57:16.716] ERROR (#16) CLI=73ms: Error reporting error
  (FiberFailure) RuntimeException: Not a valid effect: undefined
      at file:///Users/patrickroza/pj/nomizz/signalznow/node_modules/.pnpm/effect@3.12.7_patch_hash=uewyjeo77tybh3qd2odqld62ma/node_modules/effect/src/internal/core.ts:698:41
      at CLI

it happens when im calling
makeFiberFailure(cause)

it's somehow Cause.prettyErrors(cause)

using console.dir on this cause gives me:
`
  This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
  Please open an issue with this stack trace at https://github.com/nodejs/node/issues
  
      at Function.fail (node:internal/assert:20:9)
      at handleMaxCallStackSize (node:internal/util/inspect:1560:10)
      at formatRaw (node:internal/util/inspect:1066:12)
      at formatValue (node:internal/util/inspect:844:10)
      at inspect (node:internal/util/inspect:368:10)
      at console.dir (node:internal/console/constructor:386:39)
      at new CauseException (file:///Users/patrickroza/pj/nomizz/signalznow/api/src/cli.ts:19:13)
      at next (file:///Users/patrickroza/pj/nomizz/signalznow/api/src/cli.ts:84:23)
      at CLI

console.log gives me
{ _id: 'Cause', _tag: 'Die', defect: {} 

will have a look if I can expose what's in the defect 😄
Was this page helpful?