lib/httpServerAgent.js
function safeProcess (ctx, fn) {
  return function processRequest (req, res) {
    try {
      fn(ctx, req, res)
    } catch (ex) {
      ctx.logger.error(ex)
    }
  }
}
function safeProcess (ctx, fn) {
  return function processRequest (req, res) {
    try {
      fn(ctx, req, res)
    } catch (ex) {
      ctx.logger.error(ex)
    }
  }
}
function safeProcess ( ctx , fn ) { return function processRequest ( req , res ) { try { fn ( ctx , req , res ) } catch ( ex ) { ctx . logger . error ( ex ) } } }
Make sure we deoptimize small part of fn
Make sure we deoptimize small part of fn