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
RangeError: Maximum call stack size exceeded #914
Comments
I had encountered this error in my project. It turned out passing some specific kinds of objects causes winston to print very huge logs causing some kind of overflow. In my case it was caused by printing mongodb query results. P.S: Any contributors viewing this, please check out that SO question (I am the OP) and try to provide any input if you can. |
I think this time the problem is that i was printing a function as metadata. |
check #862 |
I have also run into this problem when logging the error object coming from the Example line of code: |
Updated #474 |
The fix in #977 |
👍 |
I'm still getting the same problem when a custom formater is used |
Node:
v6.3.0
winston:
^2.2.0
winston-mongodb:
^1.6.0
Stack:
RangeError: Maximum call stack size exceeded at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:79:26) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52) at Object.exports.clone (/workspace/node_modules/winston/lib/winston/common.js:110:52)
The text was updated successfully, but these errors were encountered: