agent.js 144 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 'use strict'; module.exports = agent => { // should watch error event agent.on('error', err => { agent.coreLogger.error(err); }); };