流星堆栈跟踪字符串化并打印在一行上

时间:2015-12-15 23:22:40

标签: meteor

所有服务器堆栈跟踪都打印在一行上。看起来它们是字符串化的,然后才打印出来。 例如:

I20151215-23:18:57.623(0)? Exception while invoking method 'adminCheckAdmin' { stack: 'Error: When the modifier option is true, validation object must have at least one operator\n    at checkModifier (packages/aldeed_simple-schema/simple-schema-validation.js:271:1)\n    at doValidation1 (packages/aldeed_simple-schema/simple-schema-validation.js:321:1)\n    at [...]
I20151215-23:18:57.623(0)?   source: 'method' }

我不确定如何调试和解决此问题。

1 个答案:

答案 0 :(得分:1)

问题是kadira:debug包。 卸载后,所有堆栈跟踪都已正确格式化。