lib/app.js
function handleIntentRedirect(req, res, intentObj, redirectUrl, redirectCode) {
    try {
      res.redirect(redirectCode, redirectUrl);
    } catch (e) {
      logger('warn', "Failed to perform redirect on action " + req.action, e);
    }
    if (req._hasDebug !== false) {
      let logMsg = '[ENDED ' + req.uniqueId + "] - ",
        took = Date.now() - req.startAt;
      logMsg += req.action + ' ';
      logMsg += "(" + req.method.toUpperCase() + ' ' + req.originalUrl.substr(0, 64) + ') ';
      logMsg += '= ' + redirectCode + ' => ' + redirectUrl + ' ';
      logMsg += '(' + took + 'ms)';
      logger('trace', logMsg);
    }
  }
function handleIntentRedirect(req, res, intentObj, redirectUrl, redirectCode) {
    try {
      res.redirect(redirectCode, redirectUrl);
    } catch (e) {
      logger('warn', "Failed to perform redirect on action " + req.action, e);
    }
    if (req._hasDebug !== false) {
      let logMsg = '[ENDED ' + req.uniqueId + "] - ",
        took = Date.now() - req.startAt;
      logMsg += req.action + ' ';
      logMsg += "(" + req.method.toUpperCase() + ' ' + req.originalUrl.substr(0, 64) + ') ';
      logMsg += '= ' + redirectCode + ' => ' + redirectUrl + ' ';
      logMsg += '(' + took + 'ms)';
      logger('trace', logMsg);
    }
  }
/* Handles an intent redirect.