开发者问题收集
我试图捕获“未捕获异常”并将其写入服务器上的文件中。我的代码是:var cluster = require('cluster');// The master's job to spawn workers initially and when they dieif (cluster.isMaster) {// Get the number of processor coresvar cpuCount