Skip to content
Permalink
Browse files

add debugging

  • Loading branch information...
nikooo777 committed Jul 8, 2019
1 parent ba258ca commit 469ac7329a923ec8075b3b6ce2f0debecab96b33
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 server/index.js
  3. +1 −0 server/utils/chainquery/index.js
@@ -9,3 +9,4 @@ npm-debug.log
claimTrieCache.json
syncState.json
yarn-error.log
chainquery-config.json
@@ -12,8 +12,8 @@ require('winston-daily-rotate-file');
// Setup logging
winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, { colorize: true, timestamp: true, prettyPrint: true });
var slackAPIKey = process.env.SLACK_HOOK_URL;
var mySlack = new slack(slackAPIKey, {});
let slackAPIKey = process.env.SLACK_HOOK_URL;
let mySlack = new slack(slackAPIKey, {});
// Create Koa Application
const app = new Koa();

@@ -207,6 +207,7 @@ function getClaimsSince (time, lastID, MaxClaimsInCall) {
console.log(query);
connection.query(query, function (err, results, fields) {
if (err) {
console.error(err);
logErrorToSlack('[Importer] Error getting updated claims. ' + err);
return reject(err);
}

0 comments on commit 469ac73

Please sign in to comment.
You can’t perform that action at this time.