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

It went wrong when clone an Error #67

Closed
miserylee opened this issue Oct 27, 2016 · 1 comment
Closed

It went wrong when clone an Error #67

miserylee opened this issue Oct 27, 2016 · 1 comment

Comments

@miserylee
Copy link
Contributor

const error = new Error('hhhhhh');
console.log(error);
/*
 Error: hhhhhh
 at Object.<anonymous> (/Users/miserylee/Documents/projects/com.whxxcy.8ddao/test.js:3:15)
 at Module._compile (module.js:541:32)
 at Object.Module._extensions..js (module.js:550:10)
 at Module.load (module.js:458:32)
 at tryModuleLoad (module.js:417:12)
 at Function.Module._load (module.js:409:3)
 at Module.runMain (module.js:575:10)
 at run (bootstrap_node.js:352:7)
 at startup (bootstrap_node.js:144:9)
 at bootstrap_node.js:467:3
 */
console.log(clone(error));
/*
 [Error]
 */
@pvorb
Copy link
Owner

pvorb commented Nov 22, 2016

This should be fixed in v2.1.0

@pvorb pvorb closed this as completed Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants