My app started throwing these errors. I’m not sure I understand why.
Exception went uncaught:
{ stack: undefined,
arguments: [],
type: 'stack_overflow',
message: [Getter/Setter] }
What’s my next step to get to the bottom of what is causing this error and why?
UPDATE: Here’s error when not catching at root level:
node.js:116
throw e; // process.nextTick error, or 'error' event on first tick
^
undefined
Well it definitely appears to be a case of infinite recursion. Here’s some buggy code I wrote:
And the resulting exception thrown:
Looks kind of familiar. Once the stack is trashed, so is the trace. I am afraid the solution involves some good old code review.