Commit cd01e19ddf19b739d41884b6cc19310f2b435594

Authored by Adhidarma Hadiwinoto
1 parent 5229b8c18d
Exists in master

Debug on rc local reverse report

Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff

lib/irs/reverse-report.js
... ... @@ -11,6 +11,12 @@ const partner = require('../partner');
11 11 const irs = require('komodo-gw-irs-lib');
12 12  
13 13 const localRc = fs.existsSync(__dirname + '/../../rc-local.json') ? require('../../rc-local.json') : null;
  14 +if (localRc) {
  15 + logger.info('REVERSE-REPORT: Found rc-local.json', {
  16 + useRcLocalOnReverseReport: config.partner.reverse_report_using_rc_local,
  17 + localRc,
  18 + });
  19 +}
14 20  
15 21 function processPartnerReport(qs) {
16 22 let rc = '68';