我有一个在生产中运行的nodejs脚本
我不太可能(曾经一千次)得到这样的错误:
TypeError: value is out of bounds
at checkInt (buffer.js:1009:11)
at Buffer.writeUInt16LE (buffer.js:1067:5)
at Object.foo.bar (/fake/path/name.js:123:1);
at Object.foo.bar2 (/fake/path/name2.js:123:1);
at Object.foo.bar3 (/fake/path/name3.js:123:1);
Run Code Online (Sandbox Code Playgroud)
导致生产服务器崩溃......
太棒了我有一个堆栈跟踪!但我想知道每个电话或所有数据的当前数据是什么?
有什么好的工具或代码可用于生产代码的错误记录(使用它的当前数据)?