Error caused by other error
J Decker
d3ck0r at gmail.com
Mon Aug 6 19:52:14 UTC 2018
don't knwo where yuo're having problems... in node
https://stackoverflow.com/questions/7697038/more-than-10-lines-in-a-node-js-stack-error
which is
Error.stackTraceLimit = Infinity;
which maywork in chrome too
On Mon, Aug 6, 2018 at 5:48 AM Michał Wadas <michalwadas at gmail.com> wrote:
> Was there any proposal to introduce longer stack traces to language?
>
> Eg.
> ```
> try {
> catch Error('foo');
> } catch (err) {
> throw Error('bar'); // stack trace from caught error is lost
> }
> ```
>
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180806/8b757692/attachment-0001.html>
More information about the es-discuss
mailing list