diff --git a/www/i18n/locale-en-GB.json b/www/i18n/locale-en-GB.json index 309b3a774ce42cb763818dcfd7fc7c024f147410..ec6b819c9c1a0b8ef54689061d4def916202aeeb 100644 --- a/www/i18n/locale-en-GB.json +++ b/www/i18n/locale-en-GB.json @@ -633,7 +633,8 @@ "PASSWORD_HELP": "Passphrase" }, "ERROR": { - "BAD_PASSWORD": "Bad passphrase" + "BAD_PASSWORD": "Bad passphrase", + "BAD_CHECKSUM": "Bad checksum" } } }, diff --git a/www/i18n/locale-en.json b/www/i18n/locale-en.json index 2b231946009a6b27a34a980834b399db4cfa1da6..0b6740cbea85c82d640667097dfd65f61bd68f2b 100644 --- a/www/i18n/locale-en.json +++ b/www/i18n/locale-en.json @@ -633,7 +633,8 @@ "PASSWORD_HELP": "Passphrase" }, "ERROR": { - "BAD_PASSWORD": "Bad passphrase" + "BAD_PASSWORD": "Bad passphrase", + "BAD_CHECKSUM": "Bad checksum" } } }, diff --git a/www/js/platform.js b/www/js/platform.js index 52fa3d0a75907b5eb504924a9a0c1474fe5f038f..5429f9a5ac9d4a0a3419a9093db78e3ae599889a 100644 --- a/www/js/platform.js +++ b/www/js/platform.js @@ -80,13 +80,7 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services'] .factory('$exceptionHandler', function($log) { 'ngInject'; - function stacktrace(f) { - return !f ? [] : - stacktrace(f.caller).concat([f.toString().split('(')[0].substring(9) + '(' + Array.prototype.slice.call(f.arguments).join(',') + ')']); - } - return function(exception, cause) { - //console.error(stacktrace(arguments.callee.caller)); if (cause) $log.error(exception, cause); else $log.error(exception); }; diff --git a/www/js/services/currency-services.js b/www/js/services/currency-services.js index 92c0c3e1d14bac93ba4cdabb44613101fab08dd3..1b3888305fd6b32a1b1736953a21d25ecefb5acc 100644 --- a/www/js/services/currency-services.js +++ b/www/js/services/currency-services.js @@ -180,7 +180,7 @@ angular.module('cesium.currency.services', ['ngApi', 'cesium.bma.services']) block.cleanData(); // Remove unused content (arrays...) and keep items count //console.debug('[currency] Received new block', block); - console.debug('[currency] Received new block [' + block.number + '-' + block.hash + ']'); + console.debug('[currency] Received new block {' + block.number + '-' + block.hash + '}'); data.currentBlock = block; data.currentBlock.receivedAt = moment().utc().unix();