摘要: 1、(Node)怎么解决Node.js中的未捕获异常? 答:同步异常处理可以简单地额使用try...catch来捕获,异步异常捕获则可以利用内置函数process.on("uncayghtException"),且只能是超时返回。 方法:process.on("uncaughtException", 阅读全文
posted @ 2016-09-15 23:18 mixiu206 阅读(220) 评论(0) 推荐(0) 编辑