standardizing Error.stack or equivalent
Jason Orendorff
jason.orendorff at gmail.com
Thu Mar 27 10:36:37 PDT 2014
On Thu, Mar 27, 2014 at 12:31 PM, Mark Miller <erights at gmail.com> wrote:
> Mozillians, why did you add this extra information?
Well... if the point of Error.stack is to provide diagnostic
information for exceptions, for the purpose of debugging, this
information is critical.
Without this, eval() or Function() often won't appear on the stack
anywhere. What we were doing before didn't reveal that eval or
Function was involved at all. It was misleading and unhelpful.
-j
More information about the es-discuss
mailing list