From f06874fc0fc0e126d54826d0deedb5cc8fd55f6c Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 21 Aug 2014 16:40:38 -0400 Subject: [PATCH] improve insight error message --- js/models/blockchain/Insight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models/blockchain/Insight.js b/js/models/blockchain/Insight.js index b0a0b7654..610be2ebe 100644 --- a/js/models/blockchain/Insight.js +++ b/js/models/blockchain/Insight.js @@ -256,7 +256,7 @@ Insight.prototype._requestBrowser = function(options, callback) { errTxt = 'CRITICAL: Wrong response from insight' + e2; } } else if (request.status >= 400 && request.status < 499) { - errTxt = 'CRITICAL: Bad request to insight. Probably wrong transaction to broadcast?.'; + errTxt = 'CRITICAL: Bad request to insight: '+request.status; } else { errTxt = 'Error code: ' + request.status + ' - Status: ' + request.statusText + ' - Description: ' + request.responseText; setTimeout(function() {