Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toString for error stack #35

Open
HamsterCoder opened this issue Oct 23, 2015 · 4 comments
Open

toString for error stack #35

HamsterCoder opened this issue Oct 23, 2015 · 4 comments

Comments

@HamsterCoder
Copy link

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.

@niemyjski
Copy link
Collaborator

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 :).

@HamsterCoder
Copy link
Author

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.

@niemyjski
Copy link
Collaborator

Were you able to ever get around this?

@niemyjski
Copy link
Collaborator

Can you submit a pr for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants