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 <[email protected]> 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
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to