From 7c210db5ec4e3ab3366618242b97580a04e349a8 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Thu, 10 Sep 2015 15:47:08 -0300 Subject: [PATCH] add insight error log --- lib/blockchainexplorers/insight.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/blockchainexplorers/insight.js b/lib/blockchainexplorers/insight.js index fdc69f4..9711055 100644 --- a/lib/blockchainexplorers/insight.js +++ b/lib/blockchainexplorers/insight.js @@ -19,6 +19,7 @@ function Insight(opts) { var _parseErr = function(err, res) { if (err) { + log.warn('Insight error: ', err); return "Insight Error"; } log.warn("Insight " + res.request.href + " Returned Status: " + res.statusCode);