TraceKit icon indicating copy to clipboard operation
TraceKit copied to clipboard

toString for error stack

Open HamsterCoder opened this issue 10 years ago • 4 comments

Right now as far as I can tell the stack is a very informative javascript object whereas in native exceptions - it is a string.

I think it will be a good idea to add some presets for toStringing stack, so it is easier to look at and display etc.

If you think it is a good idea too I can try to comeup with some solution.

HamsterCoder avatar Oct 23 '15 14:10 HamsterCoder

I like this but I think we would make this into a plugin to keep the code base as small as possible. I'm paring up with a second developer this weekend to start on plugins.

If you want you could work on writing up a function that does this and we can take it and put it into a plugin :).

niemyjski avatar Oct 23 '15 15:10 niemyjski

Ok, I'll try it this weekend if I can. Anyway if I come up with anything useful I'll be sure to post it here.

HamsterCoder avatar Oct 23 '15 17:10 HamsterCoder

Were you able to ever get around this?

niemyjski avatar Feb 23 '18 17:02 niemyjski

Can you submit a pr for this?

niemyjski avatar Apr 08 '20 14:04 niemyjski